CFConfig Documentation
  • Introduction
  • The Basics
    • About This Book
    • Authors
    • Overview
    • Getting Started Guide
    • Supported Engines
    • Config Items
  • Using the CLI
    • Installation
    • Usage
    • CommandBox Server Interceptors
      • Server Start
      • Server Stop
    • Command Overview
      • Export Settings
      • Import Settings
      • Transfer Settings
      • Diff Settings
      • Set/View Settings
      • Manage Datasources
      • Manage CF Mappings
      • Manage Caches
      • Manage Mail Servers
      • Manage Event Gateway Configuration
      • Manage Event Gateway Instances
      • Manage Lucee Loggers
      • Manage Scheduled Tasks
    • JSON File Storage
    • Env Var Overrides
  • Using the Services
    • Installation
    • Component Overview
    • API Overview
Powered by GitBook
On this page
  • List all Lucee Loggers
  • Add or update a Lucee Logger
  • Delete a Lucee Logger

Was this helpful?

Edit on GitHub
Export as PDF
  1. Using the CLI
  2. Command Overview

Manage Lucee Loggers

List all Lucee Loggers

cfconfig logger list
cfconfig logger list from=serverName
cfconfig logger list from=/path/to/server/home

To receive the data back as JSON, use the --JSON flag.

cfconfig logger list --JSON

Add or update a Lucee Logger

cfconfig logger save name=application appender=resource appenderArguments:path={lucee-config}/logs/application.log
cfconfig logger save name=application appender=resource appenderArguments:path={lucee-config}/logs/application.log to=serverName
cfconfig logger save name=application appender=resource appenderArguments:path={lucee-config}/logs/application.log to=/path/to/server/home

Delete a Lucee Logger

cfconfig logger delete application
cfconfig logger delete application serverName
cfconfig logger delete application /path/to/server/home
PreviousManage Event Gateway InstancesNextManage Scheduled Tasks

Last updated 9 months ago

Was this helpful?