VolumeControl.cpp? Location and turn off logging?
-
Hi everyone,
Can anyone tell me the exact location of the volumecontrol.cpp file on a standard retropie/ES install file structure? I can't seem to find the file.
Also, is there a simple way to turn off volume control.cpp's error logging to the terminal? I'm attempting to make my install as "clean" as possible, but for some reason, volumecontrol.cpp is one of the only files that occasionally reports errors to the terminal (before launching a rom, etc).
Thanks,
Jim
-
@jamesrives said in VolumeControl.cpp? Location and turn off logging?:
I can't seem to find the file.
There is no such file. The file is part of the source code, but it's compiled in in Emulationstation, the message you're seeing shows the location - in the program - that's generating the log message.
To silence such warning, find the
autostart.sh
script that starts ES and replaceemulationstation
with
emulationstation 1>&2 2>/dev/null
This should send the erorrs, or any log messages from ES, to
/dev/null
- and not show them on the console. -
Thanks. I'll give that a try tonight.
Jim
-
Your suggestion worked great! Thanks!
Jim
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.