Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the logging directory not possible for server start validation #76

Closed
cthigh opened this issue Nov 3, 2017 · 1 comment
Closed

Comments

@cthigh
Copy link
Contributor

cthigh commented Nov 3, 2017

The issue described in OpenLiberty/ci.maven#279 needs to be fixed in ci.ant.

I have tried to change the logging directory (in the server.xml file). The plugin has not "seen" the server start.

It seems the Liberty plugin try to locate the "started message" in the default location.

[INFO] CWWKM2010I: Recherche de CWWKF0011I dans D:\Workspace\ZUDB0\RSA_9_Developer\SRVT_RecupererListeCartesPaylib-TEST\target\liberty\wlp\usr\servers\defaultSe
rver\logs\messages.log. Cette recherche arrive à expiration après 30 secondes.

The problem is down in the AbstractTask.getLogFile() method where we use the server output directory and do not consider logDirectory attribute from the logging element such as:
<logging logDirectory="/some/log/directory">

@cherylking
Copy link
Member

The original maven issue references this as a duplicate and the associated PR is merged. That maven issue is closed. So closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants