Quote:
Originally posted by ksun
Sorry to re-post (not trying just to bump) but I have a more specific question:
In windoze there are the System and the Application logs. I would equate dmesg messages to the system log, and I want to know if there is a log that captures errors caused by applications.
|
Not quite ... dmesg holds the kernel message buffer. I'd
define things in /var/log/* as the system log.
In terms of applications: there's no standard interface
to log that kind of info away, some gnome applications
will (stupidly, or at least I think it is) log to /var/log/messages
via gconfd... other apps will output info on how they're
doing to stdout (which you will never see if you invoke
them via icon or some menu). Many X apps will drop
info into ~/.xsession-errors
Quote:
I understand that applications can have logs, and you can redirect standard error for any command, but I didn't know if there was a place that would log when commands are interrupted.
|
See above - there's no generic place for that kind of
info, and if you wanted to implement it yourself you'd
have to intercept key-strokes in bash, associate things
like Ctrl-D with the previously entered command-line
and thus basically log the entire session.
Cheers,
Tink