Closed y-luis-rojo closed 6 years ago
@y-luis do you mind squashing this history down to a single commit. Lot of noise in that commit chain ;)
Done ;)
@y-luis awesome :+1:
I'm just trying to remember (will look at the code later) exposing this in Agent.__init__()
means the public apis in pysipp/__init__.py
also have direct exposure right?
I guess what I'm asking is what is the code you are using right now to disable logs (with these changes in)? Also we should probably have a test for this I'm thinking at least to verify the api?
This comes from using pysipp with sipp version 3.3 which does not support log files. The way this change can be used is passing the logs
argument to scenario creation:
scen = pysipp.scenario(dirpath=temp_dir, enable_screen_file=False)
@y-luis hmm I wonder if it's sipp
version specific maybe we should have some logic to detect that and automatically disable logs - or at the least document this option in the readme.
I agree @tgoodlet. I can document that in the README, but I do not know which is the minimum version supporting log files. Will have to research it.
Seems -screen_file
argument was added at version 3.5.0: https://sourceforge.net/p/sipp/mailman/message/34041962/
@y-luis hmm yeah maybe worth documenting as well.
sipp
versions was not something that was scrutinized too much with this project - it was built on whatever the latest version was at the time.
@tgoodlet, feature fixed to only disable -screen_file
which is the only non-supported argument in SIPp < 3.5.0. Also, the description was included in the README.
@y-luis awesome nice work :+1: Mind rebasing this onto master now that #41 is in - get a clean run and this is likely good to go!
Thanks, @tgoodlet. Merged #41.
@y-luis yeah see my similar quiff in #38 but you should rebase out the history from the CI fix branch so they don't show up here.
Thanks!
git rebase
done.
Allow disabling
screen_file
argument.