ddbnl / office365-audit-log-collector

Collect / retrieve Office365, AzureAD and DLP audit logs and output to PRTG, Azure Log Analytics Workspace, SQL, Graylog, Fluentd, and/or file output.
https://ddbnl.github.io/office365-audit-log-collector/
MIT License
107 stars 40 forks source link

AuditLogCollector.py - AttributeError: 'collections.deque' object has no attribute 'insert' #12

Closed funk0id closed 2 years ago

funk0id commented 5 years ago

So close to getting this running but am hitting the following issue when starting the AuditLogCollector.py script.

Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner self.run() File "/usr/lib/python3.4/threading.py", line 868, in run self._target(*self._args, **self._kwargs) File "AuditLogCollector.py", line 119, in monitor_blobs_to_collect self._graylog_interface.stop() File "/var/opt/office365-audit-log-collector/GraylogInterface.py", line 24, in stop self.queue.insert(0 if not gracefully else -1, 'stop monitor thread') AttributeError: 'collections.deque' object has no attribute 'insert'

ddbnl commented 2 years ago

Fixed in c3b0c99.