Using log.isDebugEnabled followed by log.error is a bit strange in my
opinion.
Anyway, what you are looking for was solved here:
https://github.com/akka/akka/pull/15413
It is not released yet.
Cheers,
Patrik
On Thu, Aug 28, 2014 at 1:35 PM, Adam adamho...@gmail.com wrote:
Hi,
One more
Ah good.
That makes sense - I was trying to see in the latest source code where this
stems for and simply couldn't figure it out...
BTW, I agree it is a bit strange.
I only did it because I wanted to get a stack trace and the debug methods
don't allow supplying an exception.
But indeed I've
On Fri, Aug 29, 2014 at 9:44 AM, אדם חונן adamho...@gmail.com wrote:
Ah good.
That makes sense - I was trying to see in the latest source code where
this stems for and simply couldn't figure it out...
BTW, I agree it is a bit strange.
I only did it because I wanted to get a stack trace and
Hi,
One more follow up question.
When using the setting advised by the documentation for this scenario
(http://doc.akka.io/docs/akka/snapshot/java/logging.html#SLF4J) the only
real gap from what I need is that with akka.logLevel set to DEBUG and with
the SLF4J binding configured to INFO,
Hi,
I know Akka's configuration does not get reloaded at run-time (see here
https://groups.google.com/forum/#!msg/akka-user/bQA1zJP3yOY/fBVmGfRvYUYJ).
It is however quite a common use case for logger settings to be re-loadable
at run-time.
Is there any way to achieve this?
--
Read the
Yes, you can use SLF4JLogger, then cast to Logback and change the log level
there.
http://stackoverflow.com/a/3838108/5266
Will Sargent
Consultant, Professional Services
Typesafe http://typesafe.com, the company behind Play Framework
http://www.playframework.com, Akka http://akka.io and Scala
Or, if you just want a reloadable runtime, you can tell Logback to watch
for changes to the logging file using autoScan:
http://logback.qos.ch/manual/configuration.html#autoScan
Will Sargent
Consultant, Professional Services
Typesafe http://typesafe.com, the company behind Play Framework
or:
defsetLogLevel(level: LogLevel
http://doc.akka.io/api/akka/2.3.5/akka/event/Logging$$LogLevel.html): Unit
http://www.scala-lang.org/api/2.10.4/index.html#scala.Unit
Change log level: default loggers (i.e. from configuration file) are
subscribed/unsubscribed as necessary so that they listen