user2345093
user2345093

Reputation: 653

Any reason to keep assets logging in production?

I find the asset logging not quite useful during development and I'm thinking about using the quiet_assets gem to disable asset logging in production. Is that a good idea? Any reason why I should care about asset logging in production?

Upvotes: 0

Views: 57

Answers (1)

Pierre-Louis Gottfrois
Pierre-Louis Gottfrois

Reputation: 17631

How much logging you want is something you should decide. One may only need very basic logging information whereas someone else may need a very detailed logging.

Disabling assets logging in production is not bad, it won't hurt anything since it's just logs.

However it may come a time where you'll need those logs to debug assets not being served for example.

It's up to you.

Upvotes: 1

Related Questions