Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #159 from jjnicola/too-verbose-2
Browse files Browse the repository at this point in the history
[2.0.0] Set loglevel to debug for some message.
  • Loading branch information
bjoernricks authored Oct 17, 2019
2 parents c1c2780 + b5ef640 commit 0b01c21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [2.0.1] (unreleased)

### Changed
- Set loglevel to debug for some message. [#159](https://github.com/greenbone/ospd/pull/159)

### Fixed
- Fix set permission in unix socket. [#157](https://github.com/greenbone/ospd/pull/157)

Expand Down
4 changes: 2 additions & 2 deletions ospd/ospd.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ def start_scan(self, scan_id, targets, parallel=1):
if self.get_scan_status(scan_id) == ScanStatus.STOPPED:
return

logger.info(
logger.debug(
"%s: Host scan started on ports %s.", target[0], target[1]
)
scan_process = multiprocessing.Process(
Expand Down Expand Up @@ -1165,7 +1165,7 @@ def get_scan_results_xml(self, scan_id, pop_res):
for result in self.scan_collection.results_iterator(scan_id, pop_res):
results.append(get_result_xml(result))

logger.info('Returning %d results', len(results))
logger.debug('Returning %d results', len(results))
return results

def get_xml_str(self, data):
Expand Down

0 comments on commit 0b01c21

Please sign in to comment.