Standalone Akka with SLF4J and Logback

2,210 views
Skip to first unread message

Sean W

unread,
Jan 30, 2012, 6:18:40 PM1/30/12
to Akka User List
Hi,

I have my application deployed successfully using version 2.0-M3 and
have tried to configure SLF4j logging with no success. The out of the
box logging to console works fine. Assuming I change my config to use
SLF4j vs the default. When I enable slf4j logging in akka I no longer
see any log output on my terminal window and cannot find the akka log
file.

1) Do I need my own logback.xml file?
2) Do I put this file in akka/config?
3) What libraries to I need, I have logback-classic, logback-core, and
SLF4j-simple.

The logback.xml file I have looks like this:
<?xml version="1.0" encoding="UTF-8"?>

<!-- For assistance related to logback-translator or configuration --
>
<!-- files in general, please contact the logback user mailing list --
>
<!-- at http://www.qos.ch/mailman/listinfo/logback-user --
>
<!-- --
>
<!-- For professional support please see --
>
<!-- http://www.qos.ch/shop/products/professionalSupport --
>
<!-- --
>
<!-- FOR AKKA INTERNAL USE ONLY -->
<configuration scan="false" debug="false">
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date{ISO8601} %-5level %logger{36} %X{sourceThread}
- %msg%n</pattern>
</encoder>
</appender>
<appender name="R"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>./logs/akka.log</File>
<encoder>
<pattern>[%4p] [%d{ISO8601}] [%t] %c{1}: %m%n</pattern>
</encoder>
<rollingPolicy
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>./logs/akka.log.%d{yyyy-MM-dd-HH}</
fileNamePattern>
</rollingPolicy>
</appender>
<logger name="akka" level="DEBUG"/>
<root level="INFO">
<appender-ref ref="stdout"/>
<appender-ref ref="R"/>
</root>
</configuration>

Thanks,
Sean

Sean W

unread,
Jan 30, 2012, 6:37:24 PM1/30/12
to Akka User List
I now only have the log back files in my deploy folder and here is my
startup output:

[DEBUG] [01/30/2012 18:31:38.735] [main] [EventStream]
StandardOutLogger started
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
[DEBUG] [01/30/2012 18:31:38.892] [main] [EventStream(akka://
control_bms)] logger log1-Slf4jEventHandler started
[DEBUG] [01/30/2012 18:31:38.893] [main] [EventStream(akka://
control_bms)] Default Loggers started
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: Defaulting to no-operation MDCAdapter implementation.
SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for
further details.


On Jan 30, 6:18 pm, Sean W <swa...@viridityenergy.com> wrote:
> Hi,
>
> I have my application deployed successfully using version 2.0-M3 and
> have tried to configure SLF4j logging with no success.  The out of the
> box logging to console works fine.  Assuming I change my config to use
> SLF4j vs the default.  When I enable slf4j logging in akka I no longer
> see any log output on my terminal window and cannot find the akka log
> file.
>
> 1) Do I need my own logback.xml file?
> 2) Do I put this file in akka/config?
> 3) What libraries to I need, I have logback-classic, logback-core, and
> SLF4j-simple.
>
> The logback.xml file I have looks like this:
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!-- For assistance related to logback-translator or configuration  --
>
> <!-- files in general, please contact the logback user mailing list --
>
> <!-- athttp://www.qos.ch/mailman/listinfo/logback-user            --

rkuhn

unread,
Jan 31, 2012, 2:12:21 AM1/31/12
to akka...@googlegroups.com
Hi Sean,

did you follow the links you quoted?

Regards,

Roland

Patrik Nordwall

unread,
Jan 31, 2012, 2:39:14 AM1/31/12
to akka...@googlegroups.com
This link also tells you what to do

--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To view this discussion on the web visit https://groups.google.com/d/msg/akka-user/-/TTR2kMs9VYEJ.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.




--

Patrik Nordwall
Typesafe The software stack for applications that scale
Twitter: @patriknw


Sean W

unread,
Jan 31, 2012, 9:38:43 AM1/31/12
to Akka User List
Yes guys I did and it didn't help. What I'm thinking now is that I've
got so many libraries deployed there that there may be an errant slf4j
or log4j library in there somewhere and I'll look for that.

My coworker working independently on another akka project ran into the
same problem. I'll let you know what I find.

Thanks,
Sean

On Jan 31, 2:39 am, Patrik Nordwall <patrik.nordw...@gmail.com> wrote:
> This link also tells you what to dohttp://akka.io/docs/akka/2.0-M3/scala/logging.html#slf4j
>
>
>
>
>
>
>
>
>
> On Tue, Jan 31, 2012 at 8:12 AM, rkuhn <goo...@rkuhn.info> wrote:
> > Hi Sean,
>
> > did you follow the links you quoted?
>
> > Regards,
>
> > Roland
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Akka User List" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/akka-user/-/TTR2kMs9VYEJ.
> > To post to this group, send email to akka...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > akka-user+...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/akka-user?hl=en.
>
> --
>
> Patrik Nordwall
> Typesafe <http://typesafe.com/> -  The software stack for applications that
> scale
> Twitter: @patriknw

Patrik Nordwall

unread,
Jan 31, 2012, 9:48:18 AM1/31/12
to akka...@googlegroups.com
I wonder how you got SLF4j-simple in there?
You should only have logback-classic (or other slf4j backend) dependency in classpath when running.

Patrik Nordwall
Typesafe The software stack for applications that scale
Twitter: @patriknw


Sean W

unread,
Jan 31, 2012, 10:00:32 AM1/31/12
to Akka User List
Hi Patrick,

My confusion at the moment is where to put this: lazy val logback =
"ch.qos.logback" % "logback-classic" % "1.0.0" % "runtime"

If I paste that into my bootable class's startup it doesn't compile.
I'm searching for what I'd need to import for this to work.

Thanks,
Sean

√iktor Ҡlang

unread,
Jan 31, 2012, 10:02:14 AM1/31/12
to akka...@googlegroups.com
On Tue, Jan 31, 2012 at 4:00 PM, Sean W <swa...@viridityenergy.com> wrote:
Hi Patrick,

My confusion at the moment is where to put this: lazy val logback =
"ch.qos.logback" % "logback-classic" % "1.0.0" % "runtime"

If I paste that into my bootable class's startup it doesn't compile.
I'm searching for what I'd need to import for this to work.

Is it really a runtime dep for you?



--
Viktor Klang

Akka Tech Lead
Typesafe - The software stack for applications that scale

Twitter: @viktorklang

Patrik Nordwall

unread,
Jan 31, 2012, 10:02:17 AM1/31/12
to akka...@googlegroups.com
It's a build dependency. Are you using sbt or maven?

Patrik Nordwall
Typesafe The software stack for applications that scale
Twitter: @patriknw


Sean W

unread,
Jan 31, 2012, 10:10:43 AM1/31/12
to Akka User List
I'm using maven

On Jan 31, 10:02 am, Patrik Nordwall <patrik.nordw...@gmail.com>

Patrik Nordwall

unread,
Jan 31, 2012, 10:23:51 AM1/31/12
to akka...@googlegroups.com
Add the dependency to your pom.xml as described here: http://akka.io/docs/akka/2.0-M3/java/logging.html#slf4j

And watch out for slf4j-simple, it should not be in classpath, if you are using logback.

Patrik Nordwall
Typesafe The software stack for applications that scale
Twitter: @patriknw


Sean W

unread,
Jan 31, 2012, 10:38:17 AM1/31/12
to Akka User List
I do not have slf4j anywhere in my deployment and as you will see I
have logback-classic in my pom. What imports do I need for that lazy
val line to compile? Thanks for the help Patrick.

POM
===========================
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>

<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_2.9.1</artifactId>
</dependency>

<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-kernel</artifactId>
<version>2.0-M3</version>
</dependency>

<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-actor</artifactId>
<version>2.0-M3</version>
</dependency>

<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-slf4j</artifactId>
<version>2.0-M3</version>
</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>

<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
</dependency>

<dependency>
<groupId>org.scala-tools.subcut</groupId>
<artifactId>subcut_2.9.1</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>obix</groupId>
<artifactId>obix</artifactId>
</dependency>

<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
</dependency>

<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-client</artifactId>
</dependency>

<dependency>
<groupId>commons-discovery</groupId>
<artifactId>commons-discovery</artifactId>
</dependency>

<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>

<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.0.0</version>
<scope>runtime</scope>
</dependency>

EXCERPT FROM MY BOOT CLASS
============================
class JaceTestApplication extends Bootable {

val system = ActorSystem("control_bms")

def startup {
/* Specifiy the binding module we have defined as an object in
this test, we'll be using by making it implicit. */
implicit val bindings = FauxImplicitModule

lazy val logback = "ch.qos.logback" % "logback-classic" % "1.0.0"
% "runtime"
//val keepAliveSupervisor = system.actorOf(Props(new
KeepAliveSupervisorImpl), name = "keepAliveSupervisor")
val readSupervisor = system.actorOf(Props(new ReadSupervisorImpl),
name = "readSupervisor")
//val signalSupervisor = system.actorOf(Props(new
SignalSupervisorImpl), name = "signalSupervisor")
}

On Jan 31, 10:23 am, Patrik Nordwall <patrik.nordw...@gmail.com>

Patrik Nordwall

unread,
Jan 31, 2012, 10:41:39 AM1/31/12
to akka...@googlegroups.com
On Tue, Jan 31, 2012 at 4:38 PM, Sean W <swa...@viridityenergy.com> wrote:
I do not have slf4j anywhere in my deployment and as you will see I
have logback-classic in my pom.

Good. slf4j is brought in by akka-slf4j dependency.
 
 What imports do I need for that lazy
val line to compile?  

No, sorry for the confusion, that is sbt syntax for a dependency corresponding to your
<dependency>
         <groupId>ch.qos.logback</groupId>
         <artifactId>logback-classic</artifactId>
         <version>1.0.0</version>
         <scope>runtime</scope>
       </dependency>
 
You should not care about that.



--

Patrik Nordwall
Typesafe The software stack for applications that scale
Twitter: @patriknw


Sean W

unread,
Jan 31, 2012, 10:42:55 AM1/31/12
to Akka User List
Thanks, by all accounts this should now work, I've never used SBT so I
didn't realize that was SBT specific.

Sean

On Jan 31, 10:41 am, Patrik Nordwall <patrik.nordw...@gmail.com>

Sean W

unread,
Jan 31, 2012, 11:20:26 AM1/31/12
to Akka User List
So this just isn't working and I can't imagine what I could be doing
wrong.

My application.conf looks like this:
# In this file you can override any option defined in the
'reference.conf' files.
# Copy in all or parts of the 'reference.conf' files and modify as you
please.
akka {
# Event handlers to register at boot time (Logging$DefaultLogger
logs to STDOUT)
event-handlers = ["akka.event.slf4j.Slf4jEventHandler"]
# event-handlers = ["akka.event.Logging$DefaultLogger"]
# Log level used by the configured loggers (see "event-handlers") as
soon
# as they have been started; before that, see "stdout-loglevel"
# Options: ERROR, WARNING, INFO, DEBUG
loglevel = DEBUG
# Log level for the very basic logger activated during
AkkaApplication startup
# Options: ERROR, WARNING, INFO, DEBUG
stdout-loglevel = DEBUG
}

My startup looks like this and notice the libraries being loaded from
my deploy folder, no slf4j etc.
Starting Akka...
Running Akka 2.0-M3
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
axis-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/axis-
jaxrpc-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/axis-
wsdl4j-1.5.1.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
commons-discovery-0.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
gson-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/guava-
r03.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
jackson-mapper-asl-1.4.3.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/jersey-
client-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/jersey-
core-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
logback-classic-1.0.0.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
obix-1.1.1.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
scalatest_2.9.1-1.6.1.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/spring-
web-3.0.5.RELEASE.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
subcut_2.9.1-1.0-SNAPSHOT.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/vpower-
control-alc-1.5.2-SNAPSHOT.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/vpower-
control-bms-1.5.2-SNAPSHOT.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/vpower-
core-common-1.5.2-SNAPSHOT.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
xstream-1.3.1.jar
[DEBUG] [01/31/2012 11:13:41.770] [main] [EventStream]
StandardOutLogger started
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
[DEBUG] [01/31/2012 11:13:41.917] [main] [EventStream(akka://
control_bms)] logger log1-Slf4jEventHandler started
[DEBUG] [01/31/2012 11:13:41.917] [main] [EventStream(akka://
control_bms)] Default Loggers started
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: Defaulting to no-operation MDCAdapter implementation.
SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for
further details.
Starting up
com.viridityenergy.vpower.control.bms.boot.AlcTestApplication
Successfully started Akka
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.

My logback.xml:
<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="false" debug="false">
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>[%4p] [%d{ISO8601}] [%t] %c{1}: %m%n</pattern>
</encoder>
</appender>
<appender name="R"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>./logs/vpower.log</File>
<encoder>
<pattern>[%4p] [%d{ISO8601}] [%t] %c{1}: %m%n</pattern>
</encoder>
<rollingPolicy
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>./logs/akka.log.%d{yyyy-MM-dd-HH}</
fileNamePattern>
</rollingPolicy>
</appender>
<logger name="akka" level="DEBUG"/>
<root level="INFO">
<appender-ref ref="stdout"/>
<appender-ref ref="R"/>
</root>
</configuration>



On Jan 31, 10:41 am, Patrik Nordwall <patrik.nordw...@gmail.com>

Patrik Nordwall

unread,
Jan 31, 2012, 11:29:01 AM1/31/12
to akka...@googlegroups.com
Try to place logback jars in lib directory instead of deploy directory.

Patrik Nordwall
Typesafe The software stack for applications that scale
Twitter: @patriknw


Sean W

unread,
Jan 31, 2012, 11:36:04 AM1/31/12
to Akka User List
You type jars (plural). The only log backjar I have is logback-
classic and moving that to lib had no effect.

On Jan 31, 11:29 am, Patrik Nordwall <patrik.nordw...@gmail.com>
wrote:
> ...
>
> read more »

Patrik Nordwall

unread,
Jan 31, 2012, 11:41:42 AM1/31/12
to akka...@googlegroups.com
At least these should be in lib:
logback-classic-1.0.0.jar
logback-core-1.0.0.jar
slf4j-api-1.6.4.jar
akka-actor-2.0-M3.jar
akka-slf4j-2.0-M3.jar
akka-kernel-2.0-M3.jar
scala-library.jar

--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.

Sean W

unread,
Jan 31, 2012, 11:46:33 AM1/31/12
to Akka User List
I have logback-classic, logback-core, and scala-library in lib and the
others are in lib/akka.

I still get the same results.

On Jan 31, 11:41 am, Patrik Nordwall <patrik.nordw...@gmail.com>
> ...
>
> read more »

Patrik Nordwall

unread,
Jan 31, 2012, 11:53:12 AM1/31/12
to akka...@googlegroups.com
I learn more and more about your runtime environment... now I understand that you use the distribution.
Place all of them, except scala-library.jar, in lib/akka/.

> ...
>
> read more »

--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.

Sean W

unread,
Jan 31, 2012, 12:03:31 PM1/31/12
to Akka User List
Now we're getting somewhere, I no longer get those messages and my
output looks like below however I do not have a log file anywhere I
can find. Where should I put the logback.xml?

Starting Akka...
Running Akka 2.0-M3
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
axis-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/axis-
jaxrpc-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/axis-
wsdl4j-1.5.1.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
commons-discovery-0.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
gson-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/guava-
r03.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
jackson-mapper-asl-1.4.3.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/jersey-
client-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/jersey-
core-1.4.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
obix-1.1.1.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
scalatest_2.9.1-1.6.1.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/spring-
web-3.0.5.RELEASE.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
subcut_2.9.1-1.0-SNAPSHOT.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/vpower-
control-alc-1.5.2-SNAPSHOT.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/vpower-
control-bms-1.5.2-SNAPSHOT.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/vpower-
core-common-1.5.2-SNAPSHOT.jar
Deploying file:/Users/seanwalsh/Applications/akka-2.0-M3/deploy/
xstream-1.3.1.jar
[DEBUG] [01/31/2012 12:01:41.316] [main] [EventStream]
StandardOutLogger started
[INFO] [2012-01-31 12:01:42,079] [control_bms-akka.actor.default-
dispatcher8] a.e.s.Slf4jEventHandler: Slf4jEventHandler started
[DEBUG] [01/31/2012 12:01:42.98] [main] [EventStream(akka://
control_bms)] logger log1-Slf4jEventHandler started
[DEBUG] [2012-01-31 12:01:42,101] [control_bms-akka.actor.default-
dispatcher10] a.e.EventStream: logger log1-Slf4jEventHandler started
[DEBUG] [01/31/2012 12:01:42.102] [main] [EventStream(akka://
control_bms)] Default Loggers started
[DEBUG] [2012-01-31 12:01:42,103] [control_bms-akka.actor.default-
dispatcher11] a.e.EventStream: Default Loggers started
Starting up
com.viridityenergy.vpower.control.bms.boot.AlcTestApplication
Successfully started Akka
[INFO] [2012-01-31 12:01:42,175] [control_bms-akka.actor.default-
dispatcher3] c.v.v.c.b.r.i.ReadSupervisorImpl: ReadSupervisorImpl-
>preStart()
[INFO] [2012-01-31 12:01:42,175] [control_bms-akka.actor.default-
dispatcher3] c.v.v.c.b.r.i.ReadSupervisorImpl: ReadSupervisorImpl-
>preStart()...spawning LocationReadActorImpl for location: 1
[INFO] [2012-01-31 12:01:42,214] [control_bms-akka.actor.default-
dispatcher7] c.v.v.c.b.r.i.LocationReadActorImpl:
LocationReadActorImpl(location:1)->preStart()
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.

On Jan 31, 11:53 am, Patrik Nordwall <patrik.nordw...@gmail.com>
> ...
>
> read more »

Patrik Nordwall

unread,
Jan 31, 2012, 12:20:45 PM1/31/12
to akka...@googlegroups.com
In the classpath. Look in the start script for info about how the classpath is setup. I bet config directory is a good place.

/Patrik

Sean W

unread,
Jan 31, 2012, 12:47:33 PM1/31/12
to Akka User List
Thanks for all the help once again Patrick. I think I can figure this
out now and will update this thread with anything interesting.

Sean

On Jan 31, 12:20 pm, Patrik Nordwall <patrik.nordw...@gmail.com>
wrote:
> >>>>>>>    <appender-ref...
>
> read more »

Sean W

unread,
Jan 31, 2012, 1:03:39 PM1/31/12
to Akka User List
I'm good to go. I put the logback.xml in the config folder and
changed the log location to ../logs/vpower.log and it works great.
> > >>>>>>>  <appender...
>
> read more »

√iktor Ҡlang

unread,
Jan 31, 2012, 1:54:25 PM1/31/12
to akka...@googlegroups.com
Excellent,

happy hAkking!

Cheers,


>
> read more »

--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.




--
Viktor Klang

Akka Tech Lead
Typesafe - The software stack for applications that scale

Twitter: @viktorklang

Reply all
Reply to author
Forward
0 new messages