Skip to content

-outfile 参数报错 #4

Description

@timwhitez

Traceback (most recent call last):
File "C:\Python37\Python37-32\lib\logging\config.py", line 562, in configure
handler = self.configure_handler(handlers[name])
File "C:\Python37\Python37-32\lib\logging\config.py", line 735, in configure_handler
result = factory(**kwargs)
File "C:\Python37\Python37-32\lib\logging_init_.py", line 1087, in init
StreamHandler.init(self, self.open())
File "C:\Python37\Python37-32\lib\logging_init
.py", line 1116, in open
return open(self.baseFilename, self.mode, encoding=self.encoding)
OSError: [Errno 22] Invalid argument: 'C:\Users\timwhite\Desktop\Cerberus-master\Cerberus-master\2020-01-29 23:17:32_http:\www.airbnb.com
.txt'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File ".\cerberus.py", line 91, in
sub = subdomain(target, file = "DNSPod.txt", logger_type = logger_type)
File "C:\Users\timwhite\Desktop\Cerberus-master\Cerberus-master\core\subdomain.py", line 20, in init
self.logger = factory_logger(logger_type, target, 'subdomain')
File "C:\Users\timwhite\Desktop\Cerberus-master\Cerberus-master\core\log.py", line 201, in factory_logger
logging.config.dictConfig(config_file)
File "C:\Python37\Python37-32\lib\logging\config.py", line 799, in dictConfig
dictConfigClass(config).configure()
File "C:\Python37\Python37-32\lib\logging\config.py", line 570, in configure
'%r' % name) from e
ValueError: Unable to configure handler 'file'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions