-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2016-04-09 at 16:24 +0200, Xen wrote:
I think:
- edit /etc/logrotate.conf OR create custom logrotate.conf - in latter case add custom user crontab for it - add a line and file to a custom /etc/rsyslog.d/ file, in other words based on /etc/rsyslog.d/50-default.conf (on my system), add a facility.priority pair (such as user.info)
This is the list of facilities:
auth, authpriv, cron, daemon, kern, lpr, mail, news, syslog, user, uucp and local0 through local7
This is the list of priorities:
debug, info, notice, warning, err, crit, alert, emerg
- now feed the output of your program to "logger -p facility.priority".
- or possibly "logger -p facility.priority -t tag"
Now the regular syslog daemon (rsyslog) should output the log of that specific program to that specific file associated with that specific facility.priority pair.
This what you guys mean right.
Thank you Carlos?
Yes, that's a nice summary :-) - -- Cheers, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlcJOVAACgkQtTMYHG2NR9UuXgCfX2Ypu65lxQ7tN0o8GMD+16Rc 8pQAn2cdDHWiky1acHpRpjnG7KoX/nff =R8Hv -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org