Where to place a debug log files for my daemon app?

Posted by sasayins on Stack Overflow See other posts from Stack Overflow or by sasayins
Published on 2010-06-18T06:56:54Z Indexed on 2010/06/18 7:03 UTC
Read the original article Hit count: 161

Filed under:
|

Hi,

I am using C language and Linux as my programming platform.

I am learning how to create a daemon, and I want to create a log file so that I write a debug message in my daemon. My question is where should I put the log file in my system. Should I put it in the var folder?

Please advice.

Many thanks.

© Stack Overflow or respective owner

Related posts about c

    Related posts about linux