`jitsu logs` backwards #328

Closed
coderarity opened this Issue Sep 29, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@coderarity
Contributor

coderarity commented Sep 29, 2012

This is my output from jitsu logs:

coderarity@twilight:~/projects/node-chat$ jitsu logs 4:38PM 96%
info:    Welcome to Nodejitsu coderarity
info:    jitsu v0.9.8
info:    It worked if it ends with Nodejitsu ok
info:    Executing command logs app
info:    Attempting to load logs for /home/coderarity/projects/node-chat/package.json
info:    Listing logs for test7
[09/29 16:38:45 CDT] debug: set close timeout for client rDzZ_y3Xg0cX_JvT9wK3
[09/29 16:38:45 CDT] debug: cleared close timeout for client rDzZ_y3Xg0cX_JvT9wK3
[09/29 16:38:45 CDT] debug: cleared heartbeat interval for client rDzZ_y3Xg0cX_JvT9wK3
[09/29 16:38:45 CDT] debug: discarding transport
[09/29 16:38:45 CDT] info: transport end (socket end)
[09/29 16:38:32 CDT] debug: set heartbeat interval for client rDzZ_y3Xg0cX_JvT9wK3
[09/29 16:38:32 CDT] debug: client authorized for 
[09/29 16:38:32 CDT] debug: websocket writing 1::
[09/29 16:38:32 CDT] debug: setting request GET /socket.io/1/websocket/rDzZ_y3Xg0cX_JvT9wK3
[09/29 16:38:32 CDT] info: handshake authorized rDzZ_y3Xg0cX_JvT9wK3
[09/29 16:38:32 CDT] debug: client authorized
[09/29 16:38:32 CDT] debug: served static content /socket.io.js
[09/29 16:38:06 CDT] info: socket.io started
info:    Nodejitsu ok

As you can see, the logs are printed from newest to oldest, when it should be printed from oldest to newest.

@blakmatrix

This comment has been minimized.

Show comment Hide comment
@blakmatrix

blakmatrix Oct 1, 2012

Contributor

I've also noticed at times logs aren't necessarily chronological either, this is most noticeable in stack traces... I'll try and see if I cant find an example

Contributor

blakmatrix commented Oct 1, 2012

I've also noticed at times logs aren't necessarily chronological either, this is most noticeable in stack traces... I'll try and see if I cant find an example

@jfhbrook

This comment has been minimized.

Show comment Hide comment
@jfhbrook

jfhbrook Oct 1, 2012

Contributor

This sounds pretty easy to fix with a .sort(). One of you mind implementing this?

Contributor

jfhbrook commented Oct 1, 2012

This sounds pretty easy to fix with a .sort(). One of you mind implementing this?

@yawnt yawnt referenced this issue Oct 2, 2012

Merged

Fix sort logs #330

@coderarity coderarity closed this Oct 5, 2012

@yawnt yawnt referenced this issue Oct 7, 2012

Closed

jitsu logs follow #245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment