Results 1 to 4 of 4

Thread: Tomcat - Application logs

  1. #1

    Default Tomcat - Application logs

    I recently moved one of my web-services from Ubuntu to openSUSE. I was wondering where I could find my application logs. They used to appear in catalina.out on the old server. I have very limited experience with tomcat so I may be missing some configuration - though I did read somewhere that application logs are directed to syslog on openSUSE.

  2. #2
    Join Date
    Jun 2008
    Blog Entries

    Default Re: Tomcat - Application logs

    Have you looked in /var/log/tomcat/? or journalctl -u tomcat command?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Tomcat - Application logs

    Quote Originally Posted by malcolmlewis View Post
    Have you looked in /var/log/tomcat/? or journalctl -u tomcat command?
    Yes, I can see them through journalctl now. systemd had stopped producing logs for the last couple of weeks for some reason (maybe systemd-journald had crashed) but seems to be working fine now. how can I redirect logs to catalina.out or some other file in /var/log/tomcat/ ?

  4. #4
    Join Date
    Jun 2008

    Default Re: Tomcat - Application logs

    the question 'where are the opensuse-tomcat logs?' should not be unanswered.

    - a little late - but maybe it helps somebody -

    (tested in this second)

    with the standard yast installation (leap 42.3 or tumbleweed) there are logs in

    the default 'logs' found in /usr/share/tomcat and linked to -> /var/log/tomcat

    and after starting tomcat there are catalina.* , host-manager.*, localhost.*, localhost_access_log.* and manager.* entries

    tomcat starts and stops with (old suse standard) rctomcat or newer

    systemctl start tomcat.service

    - do not forget: systemctl enable tomcat.service - after installation

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts