Logging into syslog vs filesystem: pros and cons

Most applications and services register with the file system. Why don't they use syslog? Is it slow or unreliable?

What are the real pros and cons of using syslog?

+3
source share
1 answer

against

  • a limited number of categories (for example, compared with log4j), which limits the filtering options
  • in the system area, to access administrators, you must set administrator rights
  • not available on all OSs (e.g. Windows)

Arguments

  • application registration is plug-and-play with known locations
  • one place to filter all messages
  • contains many common functions (for example, writing to a file, sending logs remotely, rotating log files).
  • ( ),
+5

All Articles