Results 1 to 3 of 3

Thread: logger question

  1. #1

    Default logger question

    Can I use logger to write to a file of my own? If yes, how?

    Thanks a lot in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: logger question

    Not directly. logger writes to the syslog service, and then you can configure syslog (actually syslog-ng now in openSUSE) to separate out your messages to another file if you wish, or if not, it will end up in /var/log/messages by default.

  3. #3

    Default Re: logger question

    Quote Originally Posted by ken_yap View Post
    Not directly. logger writes to the syslog service, and then you can configure syslog (actually syslog-ng now in openSUSE) to separate out your messages to another file if you wish, or if not, it will end up in /var/log/messages by default.
    OK :-(

    many thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •