ruby on rails - need help configuring rails4 logs -
i'd analyze logs of rails4 app we're working - using request-log-analyzer - , far
parsed lines: 1373 skipped lines: 1373 parsed requests: 0 skipped requests: 0 warnings: teaser_check_failed: 182791, no_current_request: 26155 there no requests analyzed. parse warnings -------------------------------------------------------------------------------- parsable lines encountered without header line before it.
it skips lines. change i've made in config logging prefix subdomain (config.log_tags = [ :subdomain ] in app/environments/production.rb). tried removing it, though, , still no parsing.
example of way log files below, , i'm using command parse them: request-log-analyzer --parse-strategy assume-correct --format rails --file o production.log. fyi running puma , nginx.
does know have logs in shape request-log-analyzer parse them?
[kingscliff.adventist] started "/site/title_banner_-_children_s_ministry.jpg" 199.30.25.137 @ 2015-06-20 03:49:29 +1000 [kingscliff.adventist] processing sitescontroller#show jpeg [kingscliff.adventist] parameters: {"path"=>"site/title_banner_-_children_s_ministry"} [www] started "/site_data/109/assets/0038/1971/gender_action_guide_combined.pdf" 180.180.74.76 @ 2015-06-20 03:49:29 +1000 [www.signsofthetimes] rendered /app/varticles.html.erb (37.7ms) [www] processing sitescontroller#show pdf [www] parameters: {"path"=>"site/gender_action_guide_combined"} [www.signsofthetimes] rendered shared/_css_and_js_includes_footer.html.erb (0.3ms) [www.signsofthetimes] completed 200 ok in 1765ms (views: 1636.0ms | activerecord: 100.2ms) [sydneychinese.adventist] started "/" 23.229.34.148 @ 2015-06-20 03:49:29 +1000 [www] rendered sites/disabled.html.erb (0.9ms) [www] filter chain halted :current_site_disabled? rendered or redirected [www] completed 200 ok in 73ms (views: 11.4ms | activerecord: 2.0ms) [sydneychinese.adventist] processing sitescontroller#show html [kingscliff.adventist] completed 406 not acceptable in 121ms
Comments
Post a Comment