Skip to content

Commit

Permalink
Merge pull request #25 from MicroFocus/main
Browse files Browse the repository at this point in the history
logging - add a space character before module name
  • Loading branch information
weisun10 authored Oct 18, 2022
2 parents 0e6bfcb + 060c108 commit 4e17b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/microfocus/lrc/jenkins/LoggerProxy.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class LoggerProxy(
val sysLogger: Logger = Logger.getLogger(LoggerProxy::class.java.`package`.name)
}

private val moduleNameStr: String = if (this.options.isDebugEnabled) {
this.options.moduleName
private val moduleNameStr: String = if (this.options.isDebugEnabled && this.options.moduleName.isNotBlank()) {
" " + this.options.moduleName
} else {
""
}
Expand Down

0 comments on commit 4e17b5b

Please sign in to comment.