Running Orc Applications 3 Orc
Running Orc Applications How to run applications using ORC.

## Running Orc Applications

At runtime several environment variables can be used to control ORC.

`ORC_DEBUG`

This environment variable can be set to a number indicating the level for debug logging. A value of 0 (default) results in no debug logging. The higher the value to more detail is logged.

`ORC_CODE`

This variable can be set to a comma separated list of flags to control the code selection and execution. Supported values are: backup, emulate and debug. The value 'backup' would instruct ORC to select the C based backup functions. Selecting 'emulate' will run the ORC code through an interpreter. Using 'debug' enables debuggers such as gdb to create useful backtraces from ORC-generated code