Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

`jitsu logs` backwards #328

Closed
coderarity opened this Issue · 2 comments

3 participants

@coderarity

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

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 sounds pretty easy to fix with a .sort(). One of you mind implementing this?

@yawnt yawnt referenced this issue
Merged

Fix sort logs #330

@coderarity coderarity closed this
@yawnt yawnt referenced this issue
Closed

jitsu logs follow #245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.