Project

General

Profile

how to read production log?

Added by strexy strexy almost 12 years ago

Hi everybody,
I'm trying to read the production log but I'm a newbe in this kind of things.

These are these lines I need to analyze:

Processing IssuesController#destroy (for 10.7.21.34 at 2012-03-22 17:02:28) [POST]
Parameters: {"action"=>"destroy", "authenticity_token"=>"9PJWTC5rs5jVlxF+9NPPGiM5jgUMeLm0V3hLjodnbVE=", "id"=>"6162", "controller"=>"issues"}
Redirected to http://creativity.neomobilegroup.com/projects/web/issues
Completed in 26ms (DB: 10) | 302 Found [http://creativity.neomobilegroup.com/issues/6162/destroy]

What does mean "for 10.7.21.34" in the brackets in the first line?
And the "authenticity_token" ?

Thank a lot.


Replies (4)

RE: how to read production log? - Added by André Bachmann almost 12 years ago

  • "for 10.7.21.34" means that the IP address 10.7.21.34 has done something
  • the authenticity token is a key which your browser has to pass on Redmine for authentification purposes (I don't know exactly in which way this token is used within Redmine, I assume this is used to identify different connections from one IP address)

RE: how to read production log? - Added by strexy strexy almost 12 years ago

Thanks Andrè.
Is there a way to know whom user name made that action?

RE: how to read production log? - Added by André Bachmann almost 12 years ago

Not exactly with this level of logging. You may look for this IP address and if it is also used for logging in to Redmine, so you may get the user ID of this user.

A way to get more information in your production.log about what's going on is to change the logging level, as described here.

RE: how to read production log? - Added by strexy strexy almost 12 years ago

Thanks Andrè, I got the user name.

    (1-4/4)