Ruby UI Debugger

Discussion in 'Ruby' started by Jean Verger, Sep 17, 2006.

  1. Jean Verger

    Jean Verger Guest

    Hi,
    I'm checking the logs generated in ../log/production.log ... is there
    any tool to see all that bunch of text in columns or in some way nicer
    to analyze?

    thanks,

    Jean

    P.S.: Ah, if it helps, I'm using radrails
    Jean Verger, Sep 17, 2006
    #1
    1. Advertising

  2. Jean Verger

    Jean Verger Guest

    Hi,

    here a few lines of the logs I'm getting in (log/production.log). I'm
    looking for something easier to see than just the plain text ... I'm
    getting hundreds of blocks like those and is hard to analyze.

    thanks

    Jean


    Processing LoginController#login (for 192.168.1.183 at 2006-09-17
    17:31:41) [POST]
    Session ID: e855340ada13b9c24ebdf4ea2fb90851
    Parameters: {"x"=>"9", "remember"=>["1", "0"], "y"=>"16",
    "action"=>"login", "controller"=>"login",
    "member_account"=>{"password"=>"pwdtest", "email"=>""}}
    Redirected to http://192.168.1.41:4100/authenticator/auth/24?page=acct
    Completed in 0.01435 (69 reqs/sec) | DB: 0.00314 (21%) | 302 Found
    [https://192.168.1.40/site/login/login]


    Processing LoginController#index (for 192.168.1.183 at 2006-09-17
    17:33:07) [GET]
    Session ID: 8d3c1bcc40c822680f997e5e2f280e46
    Parameters: {"action"=>"index", "controller"=>"login"}
    Cookie set: member_account_id=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
    Rendering login/index
    Completed in 0.04305 (23 reqs/sec) | Rendering: 0.02256 (52%) | DB:
    0.01151 (26%) | 200 OK [http://192.168.1.40/site/login]


    Processing LoginController#login (for 192.168.1.183 at 2006-09-17
    17:33:20) [POST]
    Session ID: 8d3c1bcc40c822680f997e5e2f280e46
    Parameters: {"x"=>"51", "remember"=>["0"], "y"=>"16",
    "action"=>"login", "controller"=>"login",
    "member_account"=>{"password"=>"pwdtest", "email"=>""}}
    Redirected to http://192.168.1.41:4100/authenticator/auth/24?page=acct
    Completed in 0.01533 (65 reqs/sec) | DB: 0.00412 (26%) | 302 Found
    [https://192.168.1.40/site/login/login]


    On 9/17/06, Paul Lutus <> wrote:
    > Jean Verger wrote:
    >
    > > Hi,
    > > I'm checking the logs generated in ../log/production.log ... is there
    > > any tool to see all that bunch of text in columns or in some way nicer
    > > to analyze?

    >
    > That depends. What format do the records have? Post a sample line from the
    > log file.
    >
    > --
    > Paul Lutus
    > http://www.arachnoid.com
    >
    >
    Jean Verger, Sep 18, 2006
    #2
    1. Advertising

  3. Jean Verger

    punkracy Guest

    Jean Verger wrote:
    > Hi,
    >
    > here a few lines of the logs I'm getting in (log/production.log). I'm
    > looking for something easier to see than just the plain text ... I'm
    > getting hundreds of blocks like those and is hard to analyze.

    use 'less', or maybe http://freshmeat.net/projects/colorize.pl/ will
    work

    best regards

    --
    Krzysztof Raczkiewicz
    punkracy at gmail dot com
    "When I was your age, I was writing operating systems... in binary...
    on punchcards!"
    punkracy, Sep 18, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Kleinfelter

    Debugger Debugging Ruby?

    Kevin Kleinfelter, Jan 12, 2005, in forum: Ruby
    Replies:
    1
    Views:
    81
    Assaph Mehr
    Jan 12, 2005
  2. JC
    Replies:
    28
    Views:
    312
  3. Kent Sibilev
    Replies:
    0
    Views:
    92
    Kent Sibilev
    Feb 2, 2007
  4. Robert Oschler
    Replies:
    1
    Views:
    207
    Mcginkel
    Sep 5, 2005
  5. aflat362
    Replies:
    7
    Views:
    206
    naixn
    Dec 7, 2006
Loading...

Share This Page