Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

java-compat from MVM's - what should I set to read logging.properties ?? #124

Open

Description

@lesv

I've tried:
<property name="java.util.logging.config.file" value="logging.properties"/>
and
<property name="java.util.logging.config.file" value="WEB_INF/logging.properties"/>
and
<property name="java.util.logging.config.file" value="/app/WEB_INF/logging.properties"/>

Activity

  1. erugeri commented on Nov 10, 2015

    @erugeri

    In my appengine-web.xml I have:

    <system-properties>
        <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
    </system-properties>
    

    To check if it works, set the content of logging.properties like that:

    .level=ALL
    
  2. lesv commented on Nov 10, 2015

    @lesv
    Author

    I'm seeing file not found (in the log) for all three variations.

  3. self-assigned this
    on Dec 16, 2015
  4. gregw commented on Dec 16, 2015

    @gregw
    Contributor

    @lesv
    I've found, fixed and forgotten this bug once already. I'll refresh my brain and refix shortly.

  5. gregw commented on Jan 8, 2016

    @gregw
    Contributor

    Depending on your environment, PR #148 may have only partially fixed this issue. The fix in that PR was to prevent the system property from being masked.

    However, there is still an issue with the assumption that the working directory is such that a relative path to WEB-INF/logging.properties will correctly resolve.

    A fix to the relative path issue has been merged to async-support branch with #150, as the VmRuntimeWebAppContext now looks for a log directory relative to WEB-INF and converts it to an absolute path.

    I will close this issue for now - but if you want the fix back ported to master branch prior to the async-support merge, please reopen.

  6. meltsufin commented on Mar 1, 2017

    @meltsufin
    Contributor

    We need this fixed to be merged into master. However, it looks like it works with Jetty 9.3.5, just not with higher versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions