So in short, all clients running on the server (batch processors, web client, any kind of headless clients really) will log to the server log (when the logging level permits it).
Smart client will only log into the client console (when open) and if you want to log it to the server you need a third-party plugin like Patrick Ruhsert’s Log plugin (which happens to use log4j as well).