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

logger.xml settings not correctly applied #229

Open
allnash opened this issue Feb 28, 2014 · 2 comments
Open

logger.xml settings not correctly applied #229

allnash opened this issue Feb 28, 2014 · 2 comments

Comments

@allnash
Copy link

allnash commented Feb 28, 2014

Here is my logger xml.file

  1. http://www.playframework.com/documentation/2.0/SettingsLogger
  2. application conf. logger is set to defaults

logger.root=ERROR
logger.play=INFO
logger.application=DEBUG

  1. Build.scala

import sbt._
import Keys._
import play.Project._
import com.github.play2war.plugin._
object ApplicationBuild extends Build {
val appName = "app"
val appVersion = "1.0"
val appDependencies = Seq(
javaCore
)
val main = play.Project(appName, appVersion, appDependencies).settings(
Play2WarKeys.servletVersion := "3.0"
).settings(Play2WarPlugin.play2WarSettings: _*)
}

  1. Play framework 2.2.1

The issue is, its still writing logs to $USER_HOME.

@allnash
Copy link
Author

allnash commented Feb 28, 2014

Oh I am using 1.2-beta4

@benlwong
Copy link

Wild guess, might have to do with this issue #179.

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