[Contents] [Prev] [Next] [Index] [Report an Error]

# Initializing Logging

You must initialize logging only if you want to view the logging information produced by the NIC proxy.

To enable the application to initialize logging:

- Call the following method:
  `
  Log.init(configMgr, configNameSpace);
  `
  - configMgr—Instance of the configuration manager, the value returned from the getConfigMgr() method
  - configNameSpace—String that specifies the configuration namespace where you defined the logging properties
    - If you define the logging properties in the bootstrap file, specify the root namespace, “ /” .
      `
      Log.init(configMgr, "/");
      `
    - If you define the logging properties in the directory, specify the namespace relative to the property Config.net.juniper.smgt.lib.config.staticConfigDN, which you configure in the bootstrap file.
      `
      Log.init(configMgr, "/Applications/Quota");
      `

#### Related Topics

- Configuring NIC to Store Log Messages in a File (C-Web Interface)

[Contents] [Prev] [Next] [Index] [Report an Error]