* [9fans] fossil output suggestion
@ 2003-07-23 15:00 andrey mirtchovski
2003-07-23 15:27 ` jmk
0 siblings, 1 reply; 2+ messages in thread
From: andrey mirtchovski @ 2003-07-23 15:00 UTC (permalink / raw)
To: 9fans
I'm wondering: would it be a good idea to put some sort of timestamps on the
fossil debugging output?
Consider this morning's findings:
disk: io=10004 at 6.913ms
disk: io=10000 at 9.081ms
disk: io=10000 at 0.714ms
disk: io=10004 at 0.767ms
disk: io=10000 at 20.019ms
disk: io=10000 at 18.242ms
could not write super block; waiting 10 seconds
could not write super block; waiting 10 seconds
could not write super block; waiting 10 seconds
could not write super block; waiting 10 seconds
could not write super block; waiting 10 seconds
could not write super block; waiting 10 seconds
I'd like to be able to connect that with regular activities such as a
'snap -a'
same goes for the fossil console output -- maybe the prompt should be the
current time :)
andrey
ps: I know fossil doesn't do logging, and thanx to Nemo I have the
information saved using:
cat /srv/fscons > /sys/log/fossil
how about a program similar to 'logger' in lunix, which just logs whatever
is piped to it with proper timestamps:
cat /srv/fscons | logger /sys/log/fossil
that may be a better solution, no? should I write one? no? :)
for your consideration,
andrey
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] fossil output suggestion
2003-07-23 15:00 [9fans] fossil output suggestion andrey mirtchovski
@ 2003-07-23 15:27 ` jmk
0 siblings, 0 replies; 2+ messages in thread
From: jmk @ 2003-07-23 15:27 UTC (permalink / raw)
To: 9fans
On Wed Jul 23 11:01:38 EDT 2003, mirtchov@cpsc.ucalgary.ca wrote:
> ...
> ps: I know fossil doesn't do logging, and thanx to Nemo I have the
> information saved using:
>
> cat /srv/fscons > /sys/log/fossil
>
> how about a program similar to 'logger' in lunix, which just logs whatever
> is piped to it with proper timestamps:
>
> cat /srv/fscons | logger /sys/log/fossil
>
> that may be a better solution, no? should I write one? no? :)
> ...
i had a logging system in one of the pre-cursors to fossil which
i was going to add, but lost interest.
all our consoles are managed and logged with consolefs + clog.
looking in /sys/log/mkfile, the following might work for you:
aux/clog /srv/fscons /sys/log/fossil &
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-23 15:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23 15:00 [9fans] fossil output suggestion andrey mirtchovski
2003-07-23 15:27 ` jmk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).