---
title: "Built-in Loggers"
url: https://docs.zeroc.com/ice/3.8/administration/logger-facility/built-in-loggers
language: java
docs_index: https://docs.zeroc.com/llms.txt
---

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

# Built-in Loggers

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

Ice provides a file logger and, depending on the language mapping and platform, loggers that write to a system logging service. You select one of these loggers with properties.

## File Logger

Setting the [Ice.LogFile](https://docs.zeroc.com/ice/3.8/property-reference/ice-properties/java.md#ice.logfile) property selects the file-based logger. This logger appends its messages to the specified file and creates the file if necessary.

## Syslog Logger

On platforms other than Windows, you can activate a logger that logs via the Unix `syslog` implementation by setting [Ice.UseSyslog](https://docs.zeroc.com/ice/3.8/property-reference/ice-properties/java.md#ice.usesyslog) to `1`. This logger sends its messages over UDP to the syslog daemon at [Ice.SyslogHost](https://docs.zeroc.com/ice/3.8/property-reference/ice-properties/java.md#ice.sysloghost) and [Ice.SyslogPort](https://docs.zeroc.com/ice/3.8/property-reference/ice-properties/java.md#ice.syslogport).

## See Also

- [Service Logging Considerations](https://docs.zeroc.com/ice/3.8/background-servers/service-logging-considerations.md)
