Skip to content

Commit

Permalink
Fix Set up Logging and Error Reporting urls (GoogleCloudPlatform#1935)
Browse files Browse the repository at this point in the history
  • Loading branch information
praftr authored Sep 14, 2021
1 parent 5910b95 commit fb3089a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tutorials/run-symfony-on-appengine-standard/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ Exception Subscriber:

The files needed are as follows:

[`config/packages/prod/monolog.yaml`](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/master/appengine/php72/symfony-framework/config/packages/prod/monolog.yaml): Adds Stackdriver Logging to your Monolog configuration.
[`config/packages/prod/monolog.yaml`](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/master/appengine/standard/symfony-framework/config/packages/prod/monolog.yaml): Adds Stackdriver Logging to your Monolog configuration.

[`src/EventSubscriber/ExceptionSubscriber.php`](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/master/appengine/php72/symfony-framework/src/EventSubscriber/ExceptionSubscriber.php): Event subscriber that sends exceptions to Stackdriver Error Reporting.
[`src/EventSubscriber/ExceptionSubscriber.php`](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/master/appengine/standard/symfony-framework/src/EventSubscriber/ExceptionSubscriber.php): Event subscriber that sends exceptions to Stackdriver Error Reporting.

If you'd like to test the logging and error reporting, you can also copy over `LoggingController.php`, which
exposes the routes `/en/logging/notice` and `/en/logging/exception` for ensuring your logs are being sent:
Expand All @@ -245,7 +245,7 @@ exposes the routes `/en/logging/notice` and `/en/logging/exception` for ensuring
cp src/Controller/LoggingController.php \
$SYMFONY_PROJECT_PATH/src/Controller

[`src/Controller/LoggingController.php`](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/master/appengine/php72/symfony-framework/src/Controller/LoggingController.php): Controller for testing logging and exceptions.
[`src/Controller/LoggingController.php`](https://github.com/GoogleCloudPlatform/php-docs-samples/blob/master/appengine/standard/symfony-framework/src/Controller/LoggingController.php): Controller for testing logging and exceptions.

### View application logs and errors

Expand Down

0 comments on commit fb3089a

Please sign in to comment.