News:

SMF - Just Installed!

Main Menu

Soft link to /dev/null?

Started by mahesh, Oct 06, 2023, 07:43 AM

Previous topic - Next topic

mahesh

Not a Linux expert, still pretty new ... I have a program that dumps log info into a local (.blah/app-name/logs/log.log) log file ... but I wish the log file to never store anything at all unless I allow it. How about a soft link named log.log that points at the /dev/null bit bucket ... would that work? Any reasons to NOT do this?

thanks