filecoin-station / spark-api

💥 SPARK API
https://github.com/filecoin-station/spark
Other
3 stars 1 forks source link

Missing service name in Papertrail logs #394

Closed bajtos closed 3 months ago

bajtos commented 3 months ago

Papertrail logs don't show the service name like spark-evaluate anymore. This makes it difficult to search logs from spark-evaluate only.

Screenshot 2024-08-09 at 09 52 06

I believe we used to have the service name in the logs, do we need to tweak the configuration of the logshipper?

Loosely related:

bajtos commented 3 months ago

@juliangruber I believe it was you who configured Logshipper to prefix the log messages with the fly app name (see https://github.com/filecoin-station/spark-api/pull/281), so I am assigning this issue to you. I hope you don't mind.

bajtos commented 3 months ago

I discovered the issue while investigating https://github.com/filecoin-station/spark-evaluate/issues/312 and https://github.com/filecoin-station/core/issues/569

juliangruber commented 3 months ago

I don't know how this happened, but fixed by redeploying accordingly to https://github.com/filecoin-station/spark-api/tree/main/logshipper

fly deploy --file-local="/etc/vector/vector.toml=vector.toml"