Hi Juerg,

On Tue, 2023-05-30 at 21:52 +0200, Juerg wrote:
> Hi all
> 
> Sorry, where has error.log gone in Sling 12? In earlier versions, it
> was 
> at {sling.path}/sling/logs, along with request and access logs.
> In V. 12, it seemingly vanished...

The Sling Starter 12 moved to the feature launcher, and that launcher
has a slightly different filesystem layout. My examples use the 13-
SNASPHOT version of the Starter, not yet released, but 12 should be
similar.

When launching the Starter you can see a bunch of information printed
on the terminal, e.g. 

$ target/dependency/org.apache.sling.feature.launcher/bin/launcher -f
target/slingfeature-tmp/feature-oak_tar.json
[INFO] 
[INFO] Apache Sling Application Launcher
[INFO] ---------------------------------
[INFO] Initializing...
[INFO] Artifact Repositories: [file:///home/robert/.m2/repository,
https://repo.maven.apache.org/maven2,
https://repository.apache.org/content/groups/snapshots]
[INFO] Assembling final feature model...
[INFO] 
[INFO] Assembling launcher...
[INFO] Using 230 local artifacts, 0 cached artifacts, and 0 downloaded
artifacts
[INFO] 
[INFO] Starting launcher...
[INFO] Launcher Home: /home/robert/sources/apache/sling/org-apache-
sling-starter/launcher
[INFO] Cache Directory: /home/robert/sources/apache/sling/org-apache-
sling-starter/launcher/cache

'Launcher Home' indicates where all the runtime information is stored,
and the logs are found under $LAUNCHER_HOME/logs.

If you prefer, you can set the launcher home be 'sling' for
compatibility

$ target/dependency/org.apache.sling.feature.launcher/bin/launcher -f
target/slingfeature-tmp/feature-oak_tar.json -p sling
(snip)
[INFO] Starting launcher...
[INFO] Launcher Home: /home/robert/sources/apache/sling/org-apache-
sling-starter/sling

Hope this helps,
Robert
  • error.log Juerg
    • Re: error.log Robert Munteanu

Reply via email to