You could create a bundle that includes the following config (remove the
third line to output to default log file, or remove filename to output to
stdout):

"org.apache.sling.commons.log.LogManager": {

"jcr:primaryType":"sling:OsgiConfig",
"org.apache.sling.commons.log.file": "debug.log",
"org.apache.sling.commons.log.level": "debug"
}

On Wed., 5 Sep. 2018, 11:57 pm Nicolas Peltier, <npelt...@adobe.com.invalid>
wrote:

> Hi,
>
> Is there a way to easily set logger on a sling instance launched with
> slingstart-maven-plugin ?
> Trying to set debug log in
> https://github.com/apache/sling-org-apache-sling-servlets-annotations-it/blob/master/pom.xml#L76
>
> Nicolas
>
>

Reply via email to