I asked a question earlier about viewing the history of notify-osd
using the indicator-notifications
app.
The answer was that I needed to add LOG=1
in my /etc/environment
file.
That sounded suspicious and I didn't do it because:
- It's in the global configuration file.
- You really can't know what else will be logged other than the notifications.
I browsed around and saw this question which also highlights the issue. Look specifically at this answer:
Small warning: this could be a bad idea... LOG=1 in /etc/environment makes it a system wide variable and could break stuff... God knows what reacts on LOG (ofc. they should have made it something like NOTIFYOSDLOG). Maybe for starters I would add it to bashrc for 1 user just to be sure.
My question is, how will setting LOG=1
in /etc/environment
affect the system? Which 'stuff' will be logged? Is this advisable?
EDIT
I solved the notification issue and now I'm just asking about the effects of setting LOG=1 in /etc/environment.
Look at my question above: "How will setting LOG=1
in /etc/environment
affect the system? Which 'stuff' will be logged? Is this advisable?"
LOG=1
without reading the documentation of each and every program and service that may be run and may make use ofLOG
in the environment.LOG
is quite a generic name but unlikePATH
,HOME
orTERM
it is not commonly used. So one may hope that not too many developers chose it as an environment variable for their program and therefore settingLOG
won't do much. – Adaephon Apr 03 '14 at 05:57LOG=1
. – Parto Apr 03 '14 at 13:17