mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
if ARRDOUR_NOLOG_STD is set in the runtime environment, do not redirect stdout & stderr to a file on macOS
This commit is contained in:
parent
68ca768bc4
commit
68be611ed2
1 changed files with 4 additions and 0 deletions
|
|
@ -58,6 +58,10 @@ extern void no_app_nap (); // cocoacarbon.mm
|
|||
static void
|
||||
setup_logging (void)
|
||||
{
|
||||
if (g_getenv ("ARDOUR_NOLOG_STD")) {
|
||||
return;
|
||||
}
|
||||
|
||||
char path[PATH_MAX+1];
|
||||
snprintf (path, sizeof (path), "%s/stderr.log", user_config_directory().c_str());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue