Martian logs

43 views
Skip to first unread message

Mairelin Roque

unread,
Jun 25, 2018, 11:14:59 AM6/25/18
to martianproxy-users
I need to modify the logs of martian for print it in a different format depending on the request type.

Someone here had worked with this?

Bramha Ghosh

unread,
Jun 25, 2018, 1:51:08 PM6/25/18
to Mairelin Roque, martianproxy-users
You can do this by wrapping the har logger in your own logger with your desired behavior. What exactly are you trying to do?

On Mon, Jun 25, 2018, 8:15 AM Mairelin Roque <mairel...@gmail.com> wrote:
I need to modify the logs of martian for print it in a different format depending on the request type.

Someone here had worked with this?

--
You received this message because you are subscribed to the Google Groups "martianproxy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to martianproxy-us...@googlegroups.com.
To post to this group, send email to martianpr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/martianproxy-users/fcd03920-aee0-40e3-9a72-c8ddb5002965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mairelin Roque

unread,
Jun 25, 2018, 3:01:24 PM6/25/18
to bra...@google.com, martianpr...@googlegroups.com
I only want to log only the post request and responses. Of every site that is accessed by the browser. I've been also trying to integrate with logrus. 
--
"Lo único constante en el cambio..."

Att: Mairelin Roque Riely
Especialista en Análisis y Desarrollo de Software
Reply all
Reply to author
Forward
0 new messages