---
title: "Custom Loggers"
url: https://docs.zeroc.com/ice/3.8/administration/logger-facility/custom-loggers
language: python
docs_index: https://docs.zeroc.com/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.zeroc.com/llms.txt).

# Custom Loggers

Programming language: Python. Other languages: [C++](https://docs.zeroc.com/ice/3.8/administration/logger-facility/custom-loggers/cpp.md), [C#](https://docs.zeroc.com/ice/3.8/administration/logger-facility/custom-loggers/csharp.md), [Java](https://docs.zeroc.com/ice/3.8/administration/logger-facility/custom-loggers/java.md), [JavaScript](https://docs.zeroc.com/ice/3.8/administration/logger-facility/custom-loggers/js.md), [MATLAB](https://docs.zeroc.com/ice/3.8/administration/logger-facility/custom-loggers/matlab.md), [PHP](https://docs.zeroc.com/ice/3.8/administration/logger-facility/custom-loggers/php.md), [Ruby](https://docs.zeroc.com/ice/3.8/administration/logger-facility/custom-loggers/ruby.md), [Swift](https://docs.zeroc.com/ice/3.8/administration/logger-facility/custom-loggers/swift.md).

You have several options if you wish to install a logger other than the default one:

- Select one of the other [built-in loggers](https://docs.zeroc.com/ice/3.8/administration/logger-facility/built-in-loggers/python.md), such as the file logger
- Supply your own logger implementation in [InitializationData](https://code.zeroc.com/ice/3.8/api/python/Ice.InitializationData.html) when you create a communicator
- Load a logger implementation dynamically via the Ice [plug-in facility](https://docs.zeroc.com/ice/3.8/plugins/custom-logger-plug-in/python.md)

A custom logger lets you integrate the messages the Ice runtime logs into your application's logging framework: your `Logger` implementation forwards each log message to this framework.

## Implementing a Logger

A custom logger implements the [Logger](https://code.zeroc.com/ice/3.8/api/python/Ice.Logger.html) interface, whose methods are described in [Logger Facility](https://docs.zeroc.com/ice/3.8/administration/logger-facility/python.md). The Ice runtime calls the logger from its own threads, concurrently, so the implementation must be thread-safe.

## See Also

- [Built-in Loggers](https://docs.zeroc.com/ice/3.8/administration/logger-facility/built-in-loggers/python.md)
- [Custom Logger Plug-in](https://docs.zeroc.com/ice/3.8/plugins/custom-logger-plug-in/python.md)
