mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-3370 Disabled logging to stdout
This commit is contained in:
parent
93189b9cd8
commit
f0baa1ebf2
@ -1,7 +1,7 @@
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#define _CRT_NONSTDC_NO_WARNINGS
|
||||
|
||||
#define LOG_TO_CONSOLE_FOR_DEBUGGING
|
||||
//#define LOG_TO_CONSOLE_FOR_DEBUGGING
|
||||
|
||||
#include <windows.h>
|
||||
#include <aclapi.h>
|
||||
|
@ -580,7 +580,11 @@ void service_main( bool* service_is_running ) {
|
||||
|
||||
|
||||
int main( int argc, char** argv ) {
|
||||
log_init( true );
|
||||
if( argc >= 2 && stricmp( argv[ 1 ], "test" ) == 0 ) {
|
||||
log_init( true );
|
||||
} else {
|
||||
log_init( false );
|
||||
}
|
||||
|
||||
// Debug helpers for install/uninstall
|
||||
if( argc >= 2 && stricmp( argv[ 1 ], "install" ) == 0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user