I have few loggers which have created under slinglog and under /system/console/ConfigMgr, for the consistency have moved the logs on code basis.
Now how to delete the logs from aem application which is under sling log. I have deleted the logs from logger remover from the sling log configuration, once the application restart still I can see the logs under /system/console/slinglog,
[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]
[Comments is to ask about the operation of the Forum, not a specific program]
[Moved from the Comments forum to the specific Program forum... Mod]
Use CRXDE Lite search to search for the name of your custom log file name (e.g. file="logs/queries.log", I search for 'queries.log' ) and see if there are any results within /apps, or any other directory, which has a node name similar to below:
Check the resulting .config file (double click the .config node within content tree to review the file -- ) and confirm if it's the custom log details -- move it to /tmp and restart AEM instance to see if the logger still shows in /system/console/slinglog
Can you please explain what do you mean when you say delete the logs? I believe you have already removed the config for the logger from sling log as mentioned in the question.
Do you mean that you want to delete the old logs that were generated before you moved them to a project specific logger? If that is the case you can do say by opening the respective log file from /crx-quickstart/logs/<yourlogfile.log> and deleting them.
If not, can you post some screenshots with more details?
If you are using custom-logs using logback then please remove the respective logback xml files from the crx-quickstart.
Go to log-support console and edit error.log and remove the logback xml entry.
Hope it will help.
I have created a few log entries under slinglog config, for example, audit.log and search.log and so on. Same logs have created in code base also, now am trying to remove the manual logs created under sling log, from the remove loggers, but log configuration is deleted once the restarted application deleted logs are been under /system/console/slinglog path. The same config is not under /apps/your project name/config (only code base logs are reflecting in the mentioned path).
Then you might still be having some manually created duplicate logging config for the same.
Please check if you can see multiple entries for the logger under Apache Sling Logging Logger Configuration in configMgr.
You should be able to find the duplicate entries under /apps/system/config as explained above.
The location under quickstart where these get stored is \crx-quickstart\launchpad\config\org\apache\sling\commons\log\LogManager\factory\config if you want to cross-check.