mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-29 10:25:34 +02:00
scanner: don't prefix log messages with log URI
It's redundant now that we're setting prefix with log.SetPrefix()
This commit is contained in:
parent
5803389588
commit
08fa700d29
@ -177,12 +177,12 @@ func humanTime(seconds int) string {
|
|||||||
|
|
||||||
func (s Scanner) Log(msg string) {
|
func (s Scanner) Log(msg string) {
|
||||||
if !s.opts.Quiet {
|
if !s.opts.Quiet {
|
||||||
log.Print(s.LogUri + ": " + msg)
|
log.Print(msg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s Scanner) Warn(msg string) {
|
func (s Scanner) Warn(msg string) {
|
||||||
log.Print(s.LogUri + ": " + msg)
|
log.Print(msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Scanner) GetSTH() (*ct.SignedTreeHead, error) {
|
func (s *Scanner) GetSTH() (*ct.SignedTreeHead, error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user