remote logging script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

As I am writing on the wiki page here
https://fedoraproject.org/wiki/Anaconda/Logging#Remote_logging

it is possible to get all of the stuff anaconda logs(except a couple corner cases like isys and external logfiles like Xorg log) over a network. The downside is that anyone who would like to sensibly use this needs to configure and start an rsyslog daemon. That includes copy-pasting and editing the not so short (and possibly changing in the future) config file from the wiki page. That's why I decided to provide a small script that generates the file automatically and fires up the daemon on a given TCP port.

For now, I put it in scripts/analog in anaconda source and after installation of the anaconda rpm it will reside in /usr/bin/analog. It's possible to call it from either location, it has no extra modules. To start it, cd into an empty directory where you wish to have your log file structure and then do
$ analog start -p 1234 log

to start a syslog daemon on port 1234 and store the logs under log/ (assuming you do an installation with --syslog=your.ip:1234). It's possible to start several daemons too.

Let me know if you dislike having such script as a part of anaconda, or having to install anaconda.rpm to get it or if you think this is something we shouldn't even provide.

Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux