Hi Team,
I have gone through various documentation and couldn't find any useful documentation about what we can osgi log service.
As per my understanding we have osgi -> log service, sling -> log support, status -> log files where we can find logging in AEM.
WebConsole -> Sling -> log Support(http://localhost:4502/system/console/slinglog) : Here we can configure new/existing log files and can set log levels(info, warn, trace) Web Console -> Status -> log Files(http://localhost:4502/system/console/status-slinglogs) : Here we can will find a list of summary of all log files and there respective log. Web Console -> OSGI -> Log Service (http://localhost:4502/system/console/logs ): It always show empty.
Can anyone assist me about when to use OSGI -> Log Service? What kind of logs can we capture over here? Any documentation with respect to osgi -> log service?
Regards,
Shridhar
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi Arun,
I have gone through the documentation. Still Haven't clear few things.
When to use Apache Sling Logger Service and when to use Apache Felix logs(org.osgi.service.log.Logger)?
As per my understanding ,
Apache Sling Logger Service can be used for logging components(Sling models, sling servlets, etc), as shown
protected final Logger log = LoggerFactory.getLogger(this.getClass());
log.info(" logging configuration service");
Apache Felix Log(org.osgi.service.log.Logger) -I don't know when to use it
Also when i go to following path in web console( webconsole -> osgi tab -> log )It always show empty and log service is running.
Please assist me regarding following concept.
Regards,
Shridhar
Views
Replies
Total Likes
you will see the logs only if you will implement logging as mentioned in article.
AFAIK, we don't use this feature to check any kind of logs
Views
Replies
Total Likes
Refer Logging
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies