Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

An excerpt from smartd manpage reads:

-l FACILITY, --logfacility=FACILITY
Uses syslog facility FACILITY to log the messages from smartd. Here FACILITY is one of local0, local1, ..., local7, or daemon [default]. If this command-line option is not used, then by default messages from smartd are logged to the facility daemon.

Followed by steps how to accomplish this on a syslog based system.

Apparently, if Arch Linux is up-to-date, it runs journald in conjunction with systemd for the same purpose. For the latter, I cannot find a way to configure facilities or whatnot.

How to give smartd a logfile of it's own in a journald environment?

Mirrored from Arch Linux forums.

share|improve this question
Maybe a chance: you can run a "normal" logging system which supports facility as I do. Is it acceptable for you or have any reason to avoid all other logging system? – uzsolt Aug 7 '13 at 7:54
Well, Arch Linux and majority of it's packages are now based around journald. While they allow to run syslog in parallel to journald, I wanted to avoid the solution. Just for the sake of keeping everything concise. – joltmode Aug 7 '13 at 7:57
I'm using metalog with facilities (because own scripts run 'logger -t' to logging) and it works well (parallel with journald). – uzsolt Aug 7 '13 at 8:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.