[GH-ISSUE #13] Log.io not reading logs created by forever #8

Closed
opened 2026-02-26 05:31:03 +03:00 by kerem · 1 comment
Owner

Originally created by @ralphholzmann on GitHub (Nov 8, 2011).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/13

Heyo,

I have two node.js scripts running with the forever module, and I'd like to use log.io to track their logs, but it doesn't seem to be pushing any messages through. I've set up the /etc/log.io/harvester.conf correctly, but still no go.

Here's my forever list:

Forever list

Here's my harvester.conf

/* Log.io log harvester configuration */

exports.config = {

  // Log server host & port
  server: {
    host: '127.0.0.1',
    port: 8998,
  },

  // Watch the following log files, defined by label:path mappings
  log_file_paths: {
    haraka: '/root/sendtodropbox/prod/logs/haraka.log',
    queue: '/root/sendtodropbox/prod/logs/queue.log',
  },

  // Define name of current machine.
  // Alternatively, you can set this name in /etc/profile:
  // export LOGIO_HARVESTER_INSTANCE_NAME='my_log_machine'
  // If so, comment out the line below
  instance_name : 'sendtodropbox'

}

The harvester / server connect seems to work fine:

snap

Now I know there are messages being appended to these logs. If I tail -f the log files, there's a ton of activity. For some reason its just not being pushed through the harvester. I've started and stoped the log.io server and harvester multiple times to see if that was an issue, but it didn't seem to help.

Any ideas?

Thanks,

Ralph

Originally created by @ralphholzmann on GitHub (Nov 8, 2011). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/13 Heyo, I have two node.js scripts running with the `forever` module, and I'd like to use log.io to track their logs, but it doesn't seem to be pushing any messages through. I've set up the `/etc/log.io/harvester.conf` correctly, but still no go. Here's my forever list: ![Forever list](http://grabs.ralphholzmann.com/r2l.png) Here's my `harvester.conf` ``` /* Log.io log harvester configuration */ exports.config = { // Log server host & port server: { host: '127.0.0.1', port: 8998, }, // Watch the following log files, defined by label:path mappings log_file_paths: { haraka: '/root/sendtodropbox/prod/logs/haraka.log', queue: '/root/sendtodropbox/prod/logs/queue.log', }, // Define name of current machine. // Alternatively, you can set this name in /etc/profile: // export LOGIO_HARVESTER_INSTANCE_NAME='my_log_machine' // If so, comment out the line below instance_name : 'sendtodropbox' } ``` The harvester / server connect seems to work fine: ![snap](http://grabs.ralphholzmann.com/r2m.png) Now I _know_ there are messages being appended to these logs. If I `tail -f` the log files, there's a ton of activity. For some reason its just not being pushed through the harvester. I've `start`ed and `stop`ed the log.io server and harvester multiple times to see if that was an issue, but it didn't seem to help. Any ideas? Thanks, Ralph
kerem closed this issue 2026-02-26 05:31:03 +03:00
Author
Owner

@msmathers commented on GitHub (Jan 9, 2012):

This was due to a regression in forever, I've just updated the dependency to v0.8.2 which has fixed the problem. Thanks for the message, sorry for the slow turnaround.

<!-- gh-comment-id:3420714 --> @msmathers commented on GitHub (Jan 9, 2012): This was due to a regression in forever, I've just updated the dependency to v0.8.2 which has fixed the problem. Thanks for the message, sorry for the slow turnaround.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#8
No description provided.