diff options
| author | Radek Vykydal <rvykydal@redhat.com> | 2010-08-19 17:07:39 +0200 |
|---|---|---|
| committer | Radek Vykydal <rvykydal@redhat.com> | 2010-09-27 10:28:39 +0200 |
| commit | 1cb019c7dda212feb2ab06765c2a98da7d40a90d (patch) | |
| tree | 194d704ae715a2430cb16b189ca025ffe7244c25 /scripts | |
| parent | aaa4ac14ff061c5fb2ed748fe1503fd9e3d46cc6 (diff) | |
Improve logging of ifcfg stuff.
Still logging into /tmp/ifcfg.log, but now
- standard format is used,
- values of IfcfgFile are removed (only what would be written-out,
that is __str__() output is kept) - it was only confusing,
should be part of unit tests if anything
- logging of some events is added (e.g. Network.write(),
Network.update())
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/analog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/analog b/scripts/analog index 1d8a3d796..5063599f9 100755 --- a/scripts/analog +++ b/scripts/analog @@ -70,6 +70,7 @@ $template path_anaconda_tb, "%(directory)s/%(subdirectory)s/anaconda-tb-all.log" $template path_program, "%(directory)s/%(subdirectory)s/program.log" $template path_storage, "%(directory)s/%(subdirectory)s/storage.log" $template path_xserver, "%(directory)s/%(subdirectory)s/X.log" +$template path_ifcfg, "%(directory)s/%(subdirectory)s/ifcfg.log" $template path_sysimage, "%(directory)s/%(subdirectory)s/install.log.syslog" *.* %(directory)s/debug_all.log;anaconda_debug @@ -84,6 +85,7 @@ authpriv.* ?path_syslog;anaconda_syslog :programname, isequal, "program" ?path_program;anaconda_syslog :programname, isequal, "storage" ?path_storage;anaconda_syslog :programname, isequal, "xserver" ?path_xserver;anaconda_justmsg +:programname, isequal, "ifcfg" ?path_ifcfg;anaconda_syslog :hostname, isequal, "sysimage" ?path_sysimage;anaconda_syslog # discard those that we logged @@ -94,6 +96,7 @@ authpriv.* ?path_syslog;anaconda_syslog :programname, isequal, "program" ~ :programname, isequal, "storage" ~ :programname, isequal, "xserver" ~ +:programname, isequal, "ifcfg" ~ :hostname, isequal, "sysimage" ~ kern.* ~ daemon.* ~ |
