HF RL Explorer

Python Logging with Automatic Function Name, File Name, and Line Number

Python Logging with Automatic Function Name, File Name, and Line Number: a task in Terminal-Lego-15k (Harbor dataset). You are developing a debugging utility for a multi-file Python application. Your goal is to create a logging configuration that automatically captures and logs the function name …

The task

You are developing a debugging utility for a multi-file Python application. Your goal is to create a logging configuration that automatically captures and logs the **function name**, **file name**, and **line number** for every log message, all directed to a single log file.

Part of PrimeIntellect/Terminal-Lego-15k.