Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-233

Relative path does not work : no file created

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      ubuntu LTS 16

      Description

      If i set an absolute path in my config.xml file, the file is correctly created, trying with a relative path, the log file never gets created... I tried ./myfile.log or directly myfile.log.
      None works, although the final path location is the same as the absolute path given, si directory permission is not involved.
      Appender used it LoggerAppenderDailyFile with following configuration:

      <appender name="default" class="LoggerAppenderDailyFile">
      <layout class="LoggerLayoutPattern">
      <param name="conversionPattern" value="%date

      {Y-m-d H:i:s,u}

      %logger %-5level %F

      {10}

      :%L %msg%n" />
      </layout>
      <param name="file" value="logs/gfcr-%s.log" />
      <param name="datePattern" value="Y-m-d" />
      </appender>

      Can you please help ?

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            crouti Max UNGER
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development