Summary: | sys-apps/util-linux-2.26.2: logger does not support any facility | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | globus <yoric-k> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | hydrapolic |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info util-linux
emerge --info metalog |
Created attachment 415876 [details]
emerge --info metalog
According to the man page: -p, --priority priority Enter the message into the log with the specified priority. The priority may be specified numerically or as a facility.level pair. For example, -p local3.info logs the message as informational in the local3 facility. The default is user.notice. |
Created attachment 415874 [details] emerge --info util-linux Hello, sorry my bad English. /usr/bin/logger does not support any facility, only unknown "default". root# logger -p [daemon|kern|user|etc] "msg" logger: unknown priority name: [daemon|kern|user|etc] root# logger "msg" -> successfully in /var/log/every*/current myuser# same as above That is, a simple user can write in syslog. #ls -l `which logger` -rwxr-xr-x 1 root root 30612 nov 1 19:08 /usr/sbin/logger