Custom dump file


#1

Hi. I am new in mitmproxy.
I want to save logs, but just a few information like time, URL and size.

How can I save a customized log file?

Many thanks in advance.


#2

you can write a script to transform the log
https://docs.mitmproxy.org/stable/tools-mitmdump/#scripted-data-transformation