[
https://issues.apache.org/jira/browse/GEODE-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111363#comment-16111363
]
ASF GitHub Bot commented on GEODE-258:
--------------------------------------
Github user kirklund commented on the issue:
https://github.com/apache/geode/pull/467
@davinash Sorry to take so long to respond! For the security logger you can
use this:
```java
private static Logger securityLogger =
LogService.getLogger(LogService.SECURITY_LOGGER_NAME);
```
At some point, we should add this to LogService (feel free to add this if
you want to):
```java
public static Logger getSecurityLogger() {
return getLogger(LogService.SECURITY_LOGGER_NAME);
}
```
Then you could use:
```java
private static Logger securityLogger = LogService.getSecurityLogger();
```
> Remove deprecated Cache.getLoggerI18n and getSecurityLoggerI18n methods
> -----------------------------------------------------------------------
>
> Key: GEODE-258
> URL: https://issues.apache.org/jira/browse/GEODE-258
> Project: Geode
> Issue Type: Sub-task
> Reporter: Darrel Schneider
> Assignee: Avinash Dongre
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Remove the deprecated Cache.getLoggerI18n and getSecurityLoggerI18n methods.
> All calls can be replaced with getLogger().convertToLogWriterI18n() so this
> should be a quick task.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)