Hacker Poesy
  • FAQ
  • Login
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • Directory

Conversation:

Notices

  1. Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 09:59:20 EDT Douglas A. Whitfield Douglas A. Whitfield
    Remote profile options...
    In #Tomcat, do you need to restart to configure log rotation using something like logging.properties? I am not sure why logrotate isn't acceptable, but apparently it is not. Different teams, perhaps.
    Friday, 05-Jun-2020 09:59:20 EDT from nu.federati.net permalink
    • LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} repeated this.
    • Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 10:57:34 EDT Douglas A. Whitfield Douglas A. Whitfield
      Remote profile options...
      I guess this might depend in part if it is a watched resource. That I do not know.
      Friday, 05-Jun-2020 10:57:34 EDT permalink
    • Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 10:57:59 EDT Douglas A. Whitfield Douglas A. Whitfield
      Remote profile options...
      you should really assume I know nothing about Tomcat if you decide to jump in on this.
      Friday, 05-Jun-2020 10:57:59 EDT permalink
    • LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Friday, 05-Jun-2020 11:52:18 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
      Remote profile options...
      • Douglas A. Whitfield
      @musicman If you get an answer, please share it.
      Friday, 05-Jun-2020 11:52:18 EDT permalink
    • Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 13:17:53 EDT Douglas A. Whitfield Douglas A. Whitfield
      Remote profile options...
      • LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
      looks like it is possible with log4j: https://stackoverflow.com/questions/688703/does-changing-log4js-log-properties-require-a-restart

      log4j can be used with Tomcat. It's not a satisfactory answer (for me, yet...might fall back on it)
      Friday, 05-Jun-2020 13:17:53 EDT permalink
    • Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 13:41:48 EDT Douglas A. Whitfield Douglas A. Whitfield
      Remote profile options...
      • LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
      in the past, rotation was not possible with logging.properties by default. log4j (or something like it) was required.

      I do not know 100% if this is still the case.
      Friday, 05-Jun-2020 13:41:48 EDT permalink
    • Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 13:45:42 EDT Douglas A. Whitfield Douglas A. Whitfield
      Remote profile options...
      big lol: https://cwiki.apache.org/confluence/display/TOMCAT/Logging#Logging-Q10
      Friday, 05-Jun-2020 13:45:42 EDT permalink
    • Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 14:38:44 EDT Douglas A. Whitfield Douglas A. Whitfield
      Remote profile options...
      https://gist.github.com/bmaupin/987205b7ee8a0b664cfb04a9505feb5a claims to be able to do it, but still recommends log4j
      Friday, 05-Jun-2020 14:38:44 EDT permalink
    • Douglas A. Whitfield (musicman)'s status on Friday, 05-Jun-2020 15:04:19 EDT Douglas A. Whitfield Douglas A. Whitfield
      Remote profile options...
      • LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
      the answer is...it depends on the version, but basically either way you should be using log4j if you don't use logrotate.
      Friday, 05-Jun-2020 15:04:19 EDT permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Hacker Poesy is a GNU social hub. It runs version 1.1.3-beta3, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Hacker Poesy content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.