Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5134572
log.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 17, 7:52 PM
Size
440 B
Mime Type
text/x-ruby
Expires
Wed, Aug 19, 7:52 PM (1 d, 8 h)
Engine
blob
Format
Raw Data
Handle
432110
Attached To
rARCHIVING archiving
log.rb
View Options
# Bacula Log table.
#
# The Log table contains a log of all Job output.
class
Log
<
ActiveRecord
::
Base
self
.
table_name
=
:Log
self
.
primary_key
=
:LogId
alias_attribute
:log_id
,
:LogId
alias_attribute
:job_id
,
:JobId
alias_attribute
:time
,
:Time
alias_attribute
:log_text
,
:LogText
belongs_to
:job
,
foreign_key
:
:JobId
paginates_per
20
def
time_formatted
if
time
I18n
.
l
(
time
,
format
:
:long
)
end
end
end
Event Timeline
Log In to Comment