Closed gudmundur closed 8 years ago
+1 for app! We can infer from pliny-new
and set that for new pliny apps.
What is source
, the process name?
@pedro source
is the stage it's running in, i.e. development
, staging
or production
.
ooo Pliny already has it – we call it deployment
(though it needs better documentation as everything else)
@dpiddy Good call! Thank-you :)
Thanks, I had forgotten about this issue.
For most pliny apps I've created, I've added
Config.app_name
andConfig.source
to track the app and environment. This is useful for setting up a default log context and measuring values.With those two config values, we can add them as defaults to
config/initializers/log.rb
.