# appLogs
Specifies one or more paths to application log files that should be captured by the yc-360 script.
Each log path must be suffixed with $AppName, which allows the yCrash UI to associate the logs with a specific application in the App Log Report. To learn more, please visit the App Logs page (opens new window).
By default, the yc-360 script captures the last 10,000 lines from each specified log file and transmits them to the yCrash server. To customize the number of lines captured, use the appLogLineCount argument.
Type: list[string]
Default: []
Example (YAML):
options:
appLogs:
- /apps/orderservice/logs/console-app.log$OrderService
- /apps/userportal/logs/debug-app.log$UserPortal
2
3
4
Example (CLI):
./yc -appLogs "/apps/orderservice/logs/console-app.log$OrderService" -appLogs "/apps/userportal/logs/debug-app.log$UserPortal"
Note:
If you specify an application name using the -a argument, yc-360 will capture only the application logs belonging to that specific application.
The script determines this by matching the value passed to -a with the $APP_NAME found in the application log file paths.
If the application name does not match, or if the -a argument is not provided, yc-360 will capture all application logs listed under the -appLogs argument.
← a appLogLineCount →