enable logging for deamon
This commit is contained in:
		
							parent
							
								
									f57519b909
								
							
						
					
					
						commit
						0e2570b204
					
				| @ -62,6 +62,7 @@ BOOL WINAPI console_ctrl_handler(DWORD ctrl_type) | ||||
| #endif | ||||
| 
 | ||||
| int main (int argc, char * argv[]) { | ||||
|     LogPolicy::GetInstance().Unmute(); | ||||
| #ifdef __linux__ | ||||
|     if(!mlockall(MCL_CURRENT | MCL_FUTURE)) | ||||
|         SimpleLogger().Write(logWARNING) << "Process " << argv[0] << "could not be locked to RAM"; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user