Class LogCtlLog4j2


  • public class LogCtlLog4j2
    extends java.lang.Object
    Additional logging control, for Log4j2 as used by jena-cmds.
    This class pulls in log4j2.
    This class is split out from LogCtl to decouple the class loading dependencies.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String log4j2setup
      A basic logging setup.
      static java.lang.String log4j2setupCmd
      A format for commands using stderr.
    • Constructor Summary

      Constructors 
      Constructor Description
      LogCtlLog4j2()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void resetLogging​(java.io.InputStream inputStream, java.lang.String syntaxHint)  
      static void resetLogging​(java.lang.String configString)
      Reset logging (log4j2).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log4j2setup

        public static java.lang.String log4j2setup
        A basic logging setup.
      • log4j2setupCmd

        public static java.lang.String log4j2setupCmd
        A format for commands using stderr.
    • Constructor Detail

      • LogCtlLog4j2

        public LogCtlLog4j2()
    • Method Detail

      • resetLogging

        public static void resetLogging​(java.lang.String configString)
        Reset logging (log4j2). log4j2.properties format.
      • resetLogging

        public static void resetLogging​(java.io.InputStream inputStream,
                                        java.lang.String syntaxHint)
                                 throws java.io.IOException
        Throws:
        java.io.IOException