[
https://issues.apache.org/jira/browse/GEODE-2601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046954#comment-16046954
]
ASF GitHub Bot commented on GEODE-2601:
---------------------------------------
Github user YehEmily commented on a diff in the pull request:
https://github.com/apache/geode/pull/571#discussion_r121499647
--- Diff:
geode-core/src/main/java/org/apache/geode/internal/logging/LogWriterFactory.java
---
@@ -87,19 +87,19 @@ public static InternalLogWriter
createLogWriterLogger(final boolean isLoner,
// LOG:CONFIG:
logger.info(LogMarker.CONFIG, Banner.getString(null));
}
+ System.setProperty(InternalLocator.INHIBIT_DM_BANNER, "true"); //
Ensure no more banners will
--- End diff --
Yes, I had a suspicion that this would be an issue - do you have any
suggestions concerning how to do this without changing a system property? I was
considering just checking the log for whether it contains the banner, but this
seems inefficient.
> Banner is logged twice during locator startup
> ---------------------------------------------
>
> Key: GEODE-2601
> URL: https://issues.apache.org/jira/browse/GEODE-2601
> Project: Geode
> Issue Type: Bug
> Components: logging
> Reporter: Patrick Rhomberg
> Assignee: Emily Yeh
> Priority: Minor
> Labels: LogBanner
>
> In locator log file, starting a locator in gfsh yields a log file containing
> "Licensed to the Apache [...]"
> First banner ends with:
> {noformat}[info 2017/03/06 14:29:29.995 PST loc1 <main> tid=0x1] Starting
> peer location for Distribution Locator on 10.118.33.239{noformat}
> Second banner ends with:
> {noformat}[info 2017/03/06 14:29:30.160 PST loc1 <main> tid=0x1] Starting
> membership services{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)