Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Oct 06, 2023, 07:43 AM

Title: Soft link to /dev/null?
Post by: mahesh on Oct 06, 2023, 07:43 AM
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