Server-side functions can console.log -> log4j

Validation functions can use console.log for debugging.
These will be pushed to log4j at debug level.