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 to all levels which are at least as severe as the given one. See object Logging for more information. NOTE: if the StandardOutLogger is configured also as normal logger, it will not participate in the automatic management of log level subscriptions! http://doc.akka.io/api/akka/2.3.5/?_ga=1.45167204.1579561034.1353497989#akka.event.LoggingBus On Tue, Aug 19, 2014 at 11:09 PM, Will Sargent <[email protected]> wrote: > 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 > <http://www.playframework.com>, Akka <http://akka.io> and Scala > <http://www.scala-lang.org/> > > > On Tue, Aug 19, 2014 at 2:06 PM, Will Sargent <[email protected]> > wrote: > >> 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 >> <http://www.scala-lang.org/> >> >> >> On Tue, Aug 19, 2014 at 12:20 PM, Adam <[email protected]> wrote: >> >>> 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 docs: http://akka.io/docs/ >>> >>>>>>>>>> Check the FAQ: >>> http://doc.akka.io/docs/akka/current/additional/faq.html >>> >>>>>>>>>> Search the archives: >>> https://groups.google.com/group/akka-user >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Akka User List" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/akka-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Cheers, √ -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
