---
schema_version: "1"
id: d1459086a81a5e61bc18558e57104ee90da7a08b68dfe22e14e8068d24763ec4
title: Viewing Standard Output Logs
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/gateway/1.9/flex-local-view-logs.md
canonical_url: https://docs.mulesoft.com/gateway/1.9/flex-local-view-logs
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 2e069be22d7f5c131ba6a3a97eccd6a62bc6f362cfdd473834e4a7243e3bca62
description: MuleSoft Documentation Site
release: "1.9"
latest: false
---
---
product: Omni Gateway
version: 1.9
---

# Viewing Standard Output Logs

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Flex Gateway maintains standard output logs for individual replicas. Use the standard output logs
for quick logging checks when additional logging output is not needed, such as ensuring when an
external service is running or API requests are reaching Flex Gateway.

You do not need to configure log output to view standard output logs. However, if you want access
logs to appear in standard output logs, you must apply a Message Logging policy to the APIs you want
to monitor. To apply a Message Logging policy, see
[Configuring Access logs](https://docs.mulesoft.com/gateway/1.9/flex-local-third-party-logs-config#configure-access-logs).

You can also configure additional Fluent Bit to enable custom logging outputs and customize the log
level info. To configure additional logging, see
[Configuring External Logs for Flex Gateway in Local Mode](https://docs.mulesoft.com/gateway/1.9/flex-local-third-party-logs-config).

To view additional log outputs, find the appropriate method to view them. The following commands
display only the standard output logs.

## View Logs

To view the standard output logs of your replica, run one of the following commands:

For Linux:

```ssh
journalctl -u flex-gateway*
```

For Docker:

```ssh
docker logs -f <container-id>
```

For Kubernetes:

```ssh
kubectl logs -f <pod-name>
```

## See Also

- [Fluent Bit documentation](https://docs.fluentbit.io/manual)
