Questions tagged [papertrail-app]

Papertrail provides frustration-free log management as a cloud-hosted service.

Papertrail provides frustration-free log management as a cloud-hosted service.

61 questions
22
votes
5 answers

Hide rendering of partials from rails logs

I believe the default behavior of rails logging on production is to not output the rendering of all partials. This should log in development but not on production. However, I'm seeing this in production and I'm not sure how to remove it. My logs are…
11
votes
1 answer

Laravel logs in Heroku not showing up

I've deployed a Laravel app to heroku by following the official guide. It says to change APP_LOG=errorlog, which I've done. I've also tried two different versions of this, the commented line being the…
Kevin Redman
  • 459
  • 4
  • 15
10
votes
1 answer

Run Rails Rake task on Heroku Scheduler as detached to capture log output in Papertrail

A known problem with running Rails Rake tasks on Heroku is that they don't submit their logs to Papertrail since the one-off dynos push their output to the console by default. This is solved by running your dyno in "detached" mode by using heroku…
Erik Trautman
  • 5,883
  • 2
  • 27
  • 35
10
votes
1 answer

Change the app-name sent by docker's syslog driver

I'm using Papertrail to collect my Docker container's logs. Do to that, I used the syslog driver when I created the container: sudo docker run --name my_container --log-driver=syslog ... ... and added the following line to my /etc/rsyslog.conf *.*…
vcarel
  • 1,787
  • 1
  • 16
  • 23
9
votes
0 answers

Can not load logs Papertrail

I'm using Ubuntu 16.04. I want to show the rails logs on the service Papertrail. I do everything as indicated in the instruction: sudo remote_syslog \ -p 34698 \ -d logs7.papertrailapp.com \ --pid-file=/var/run/remote_syslog.pid \…
user10254427
  • 131
  • 4
8
votes
1 answer

How to handle log drains in one-off dynos?

We're aggregating our logs to papertrail using heroku's log drains. Everything works great, except, I'm not sure how to set up logging from one-off dynos, which we use to run scripts. I thought the drain configuration would apply to one-off dynos,…
Paul Sanwald
  • 10,899
  • 6
  • 44
  • 59
7
votes
1 answer

What does fwd mean in the heroku logs?

Inside the heroku logs, I have the following line... Aug 06 21:50:18 coolApp heroku/router: at=info method=GET path="/about.jpg" host=coolapp.com fwd="78.7.88.177,643.198.55.55" dyno=web.1 connect=0ms service=43ms status=500 bytes=420 My question…
thank_you
  • 11,001
  • 19
  • 101
  • 185
5
votes
0 answers

Next.js server side logging in getServerSideProps or api?

What is best practice for logging on the server side in Next.js? I have code that syncs two databases and I need to see the log. I was thinking about using an external logging service like Papertrail, but I can't find any examples. What are you…
terchris
  • 545
  • 6
  • 16
5
votes
2 answers

Multiple config.logger per environment

I'm using Rails 5 and I'm sending application logs to papertrail using this snippet on my environments/production.rb config.logger = ActiveSupport::TaggedLogging.new( RemoteSyslogLogger.new( 'logs6.papertrailapp.com', 41364, program:…
AllenC
  • 2,754
  • 1
  • 41
  • 74
4
votes
1 answer

How to use regular expressions while searching in Papertrail app?

I want to search using a regular expression in the search bar of Papertrailapp. When I try some thing like this randomText \(\d\d\d Expected result : randomText (223 Actual Result : No search found. Any guidance on this will be appreciated.…
Kaustubh Desai
  • 396
  • 3
  • 13
4
votes
1 answer

docker-compose logging is not working with syslog option

I have the following docker-compose configuration: version: '3' services: worker: image: // image logging: driver: syslog options: syslog-address: "udp://XXX.papertrailapp.com:XXXX" tag:…
dylanjha
  • 2,303
  • 4
  • 28
  • 47
4
votes
0 answers

Using Papertrail with tattletale.js on Heroku

I have a simple client-side AngularJS application that I'm running on Heroku. I want to log input on Papertrail and saw this simple example using Tattletale.js: var tattletale = new…
romeboards
  • 387
  • 5
  • 19
4
votes
1 answer

Multiline Log issue with rsyslog

I have an application server (Ubuntu 14.04) which has tomcat server running on top of it. This application server uses "rsyslog" which is configured to send the logs to a NXlog server (on Ubuntu 14.04). Rsyslog sends all its logs, including the…
Nishant Singh
  • 3,055
  • 11
  • 36
  • 74
4
votes
2 answers

How to configure lager to send logs to papertrail or loggly

I am building an erlang application and making use of lager — a logging framework written by Basho technologies. I would like to send logging output to Papertrail, or failing that Loggly. Can anyone give me some guidance as to how to configure this?
andyc
  • 515
  • 1
  • 4
  • 12
3
votes
1 answer

EB: Trigger container commands / deploy scripts on configuration change

I am running my web server on Elastic Beanstalk, and using Papertrail for logging. I am using the official .ebextensions script to get papertrail set up during deployment, but I have a problem. I use environment variables as part of my hostname used…
JHH
  • 8,567
  • 8
  • 47
  • 91
1
2 3 4 5