3LC File Locations

3LC stores its configuration, logs, and projects in particular locations on your system. This page details the default file locations for 3LC and how you can override them.

Default 3LC File Locations

The tables below detail the default file locations for 3LC.

Linux

File

Location

Config

$HOME/.config/3LC/config.yaml

API Key

$HOME/.config/3LC/api_key.txt

Logfile

$HOME/.local/state/3LC/logs/3LC.log

Projects

$HOME/.local/share/3LC/projects

These locations follows the XDG Base Directory Specification. They can be overridden using the standardized environment variables, such as $XDG_DATA_HOME etc.

MacOS

File

Location

Config

$HOME/Library/Application Support/3LC/config.yaml

API Key

$HOME/Library/Application Support/3LC/api_key.txt

Logfile

$HOME/Library/Logs/3LC/Logs/3LC.log

Projects

$HOME/Library/Application Support/3LC/projects

Windows

File

Location

Config

%LocalAppData%\3LC\3LC\config.yaml

API Key

%LocalAppData%\3LC\3LC\api_key.txt

Logfile

%LocalAppData%\3LC\3LC\Logs\3LC.log

Projects

%LocalAppData%\3LC\3LC\projects

Override 3LC File Locations

You can override the default file locations by setting the TLC_DEFAULT_ROOT_DIR environment variable. In that case, the files will be stored at the following locations:

File

Location

Config

<TLC_DEFAULT_ROOT_DIR>\config.yaml

API Key

<TLC_DEFAULT_ROOT_DIR>\api_key.txt

Logfile (Linux)

<TLC_DEFAULT_ROOT_DIR>\logs\3LC.log

Logfile (MacOS)

<TLC_DEFAULT_ROOT_DIR>\Logs\3LC.log

Logfile (Windows)

<TLC_DEFAULT_ROOT_DIR>\Logs\3LC.log

Projects

<TLC_DEFAULT_ROOT_DIR>\projects