Skip to content

Commit

Permalink
Merge pull request #899 from tildeio/slc-log-trace
Browse files Browse the repository at this point in the history
drop SLC log level to trace
  • Loading branch information
zvkemp committed May 12, 2021
2 parents e009ba9 + 17fc608 commit 4002121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/skylight/extensions/source_location.rb
Expand Up @@ -78,7 +78,7 @@ def process_normalizer_meta(payload, meta, **opts)
sl ||= source_location(payload, meta, cache_key: opts[:cache_key])

if sl
debug("normalizer source_location=#{sl}")
trace("normalizer source_location=#{sl}")
meta[:source_file], meta[:source_line] = sl
end

Expand All @@ -105,7 +105,7 @@ def trace_preprocess_meta(meta)
warn "Ignoring source_line without source_file; source_line=#{source_line}"
end

debug("source_location=#{meta[:source_location]}") if meta[:source_location]
trace("source_location=#{meta[:source_location]}") if meta[:source_location]
end

def allowed_meta_keys
Expand Down

0 comments on commit 4002121

Please sign in to comment.