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

# 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.12/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.12/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)
