I use C and Linux as my programming platform.
I am learning how to create a daemon, and I want to create a log file to write a debug message in my daemon. My question is: where should I put the log file on my system. Should I put it in the var folder?
Please advice.
Many thanks.
c linux
domlao
source share