LogModules Parameter (Connect-AdobeCommerce Cmdlet)
Specifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.
Syntax
Connect-AdobeCommerce -LogModules string
Data Type
cstr
Default Value
""
Remarks
This property lets you customize the log file content by specifying the logging modules to include. Logging modules categorize logged information into distinct areas, such as query execution, metadata, or SSL communication. Each module is represented by a four-character code, with some requiring a trailing space for three-letter names.
For example, EXEC logs query execution, and INFO logs general provider messages. To include multiple modules, separate their names with semicolons as follows: INFO;EXEC;SSL.
The Verbosity connection property takes precedence over the module-based filtering specified by this property. Only log entries that meet the verbosity level and belong to the specified modules are logged. Leave this property blank to include all available modules in the log file.
For a complete list of available modules and detailed guidance on configuring logging, refer to the Advanced Logging section in Logging.