Logging configuration

Logging can be important to figure out what is happening in case something goes wrong (i.e., you can’t instantiate IPKISS components, the waveguide routing fails). By default, IPKISS logs to L-Edit GUI, which already gives you some information on what might go wrong.

File logging

When something goes wrong, detailed information is written to a file log. You can open the logs from the L-Edit GUI menu: Luceda > Logs > Open Log Folder.

Luceda logs open log folder

Luceda Logs Menu: open log folder

Both integration logs as well as standalone tool logs are kept in the same directory:

  • The PCell generator and the L-Edit integration macros log to a daily rotating file log. In this way you can clean up the logs easily when they fill up your disk space.
  • Some IPKISS.eda python tools log to a separate file ipkisseda.log.


The loglevel of the file logs is debug by default. If necessary, you can change this by setting the LUCEDA_FILE_LOG_LEVEL environment variable. For instance, to set the loglevel to trace from a Windows cmd console:


Logfolder location

The location of the log folder depends on your system:

  • On Windows, the default location is %APPDATA%\luceda\logs (typically C:\users\yourlogin\AppData\Roaming\luceda\logs). If that does not exist, the a logs folder in the current working folder is used.
  • On Linux, the default location is $HOME\.luceda\logs. If that does not exist, a logs folder in the current working directory is used.

You can specify an alternative directory (folder) to store the logfiles by setting the LUCEDA_LOG_DIR environment variable. For instance, from a Windows cmd console:

set LUCEDA_LOG_DIR=C:\path\to\my\logdir

If you now start L-Edit from this terminal, all log information will be written to the C:\path\to\my\logdir\ directory.