Class ACCLogger


  • public class ACCLogger
    extends Logger
    Logger that conforms to the glassfish-acc.xml config file settings for logging while, in some cases, also adjusting other loggers.

    Historically the logging level specified in the glassfish-acc.xml is used to set the level for all loggers. Beginning with v3, which supports conventional log settings via logging.properties as well, we make sure that each logger's level is at least as detailed as the setting in the config file.

    Also, in prior versions if the user specified a logging file in the glassfish-acc.xml config file then all pre-existing handlers would be removed, essentially replaced with a single handler to send output to the user-specified file. Beginning with v3 the ACC augments - rather than replaces - existing handlers if the settings in glassfish-acc.xml specify a file.

    Author:
    tjquinn
    • Constructor Detail

      • ACCLogger

        public ACCLogger​(org.glassfish.appclient.client.acc.config.LogService logService)
                  throws IOException
        Throws:
        IOException