Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583528 - sys-process/vixie-cron: provide log level selection
Summary: sys-process/vixie-cron: provide log level selection
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Deadline: 2019-10-11
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2016-05-19 21:47 UTC by Artem
Modified: 2019-10-11 15:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full set of files (vixie-cron-4.1-log_level.tar.bz2,19.70 KB, application/x-bzip2)
2016-05-19 21:47 UTC, Artem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem 2016-05-19 21:47:19 UTC
Created attachment 434744 [details]
Full set of files

The adopted Debian patch for vixie-cron 4.1 that make it possible to select what events will be logged. Modified init.d script, corresponding conf.d file and updated ebuild are included. ebuild needs selinux patch fix (I don't use it so wasn't able to build vixie-cron with it to fix the patch, so with this ebuild vixie-cron will fail to build because of selinux patch fail to apply).

This patch allows to set what event types will be logged and written to syslog. Current events are:
0   no logging (errors are logged regardless)
1   log start of jobs
2   log end of jobs
4   log jobs with exit status != 0
8   log the process identifier of child process (in all logs) 

The log level is the sum of desired event numbers.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-11 15:07:57 UTC
Package removed.