Created a custom log file for an Adobe Experience Manager project but logs are not coming in the file.
I have configured below osgi config node:
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
org.apache.sling.commons.log.file="logs/conditional-service.log"
org.apache.sling.commons.log.level="info"
org.apache.sling.commons.log.names="[com.project.platform]"
org.apache.sling.commons.log.pattern="\{0,date,yyyy-MM-dd HH:mm:ss.SSS} {4} [{3}] {5}"/>
But after configuring this I am not getting the logs which are in the file under com.project.platform package are not logging into file logs/conditional-service.log. However I can see the empty file conditional-service.log under logs directory. While creating log file from log support I am getting the logs.
I have used the steps mentioned here in Creating a custom log file for an Adobe Experience Manager project
Let me know If I am missing something. I am using AEM 6.3.2.0