am bc74ecfa: HACK: Disable syslog going to android log.
				
					
				
			* commit 'bc74ecfaf5de47056fd8a48db65c0e5aef892f0c': HACK: Disable syslog going to android log.
This commit is contained in:
		@@ -46,7 +46,10 @@ void syslog(int priority, const char* fmt, ...) {
 | 
				
			|||||||
  va_end(args);
 | 
					  va_end(args);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void vsyslog(int priority, const char* fmt, va_list args) {
 | 
					void vsyslog(int /*priority*/, const char* /*fmt*/, va_list /*args*/) {
 | 
				
			||||||
 | 
					// HACK to avoid lock up on certain devices. This will be reverted when
 | 
				
			||||||
 | 
					// that is fixed.
 | 
				
			||||||
 | 
					#if 0
 | 
				
			||||||
  // Check whether we're supposed to be logging messages of this priority.
 | 
					  // Check whether we're supposed to be logging messages of this priority.
 | 
				
			||||||
  if ((syslog_priority_mask & LOG_MASK(LOG_PRI(priority))) == 0) {
 | 
					  if ((syslog_priority_mask & LOG_MASK(LOG_PRI(priority))) == 0) {
 | 
				
			||||||
    return;
 | 
					    return;
 | 
				
			||||||
@@ -72,4 +75,5 @@ void vsyslog(int priority, const char* fmt, va_list args) {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  __libc_format_log_va_list(android_log_priority, log_tag, fmt, args);
 | 
					  __libc_format_log_va_list(android_log_priority, log_tag, fmt, args);
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user