Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
49c214c0
Commit
49c214c0
authored
Sep 05, 2013
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a Created: line to spew.
parent
cf8a3497
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tbsetup/spewlogfile.in
tbsetup/spewlogfile.in
+3
-2
No files found.
tbsetup/spewlogfile.in
View file @
49c214c0
...
...
@@ -144,14 +144,15 @@ STDOUT->autoflush(1);
# mess up sometimes.
#
if
(
!
$isopen
||
$nowait
)
{
printf
("
%-15s %s
\n
",
"
Created:
",
$logfile
->
date_created
());
if
(
$logfile
->
MetadataList
())
{
foreach
my
$ref
(
@
{
$logfile
->
MetadataList
()
})
{
my
(
$key
,
$val
)
=
@
{
$ref
};
printf
("
%-15s %s
\n
",
"
$key
:
",
$val
);
}
print
"
\n
";
print
"
----------------------------------
\n
";
}
print
"
\n
";
print
"
----------------------------------
\n
";
if
(
!
defined
(
$logname
))
{
print
STDOUT
"
Log file has no content; this is not an error.
\n
";
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment