Commands are logged before being executed, i.e. it is not the command that logs itself and decides what to log and what to skip. Of course, a command can always decide to log additional information, but it cannot affect how it gets logged.
 
  Eric