Skip to content

Commit 22dbb74

Browse files
committed
chore: Fix logging, update readme.
1 parent 0e64dc8 commit 22dbb74

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ The easiest way to start an application is to do it with docker.
1919
If you have docker you just need to run a command from the project root
2020
`docker-compose -f ./docker/docker-compose-dev.yml up -d --build`.
2121
And `docker-compose -f ./docker/docker-compose-dev.yml down` to stop.
22-
You can observe queues, and send and retrieve messages from queues using the web interface available by address http://localhost:15672 .
22+
You can observe queues, and send and retrieve messages from queues via the web interface available by address http://localhost:15672.
23+
login/password = guest/guest.

internal/parse/openapi/openapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func populateMethods(log logger.Logger, asd *apiSpecDoc.ApiSpecDoc, paths openap
7373
group.Methods = append(group.Methods, method)
7474
addedToAnyGroup = true
7575
} else {
76-
log.Warn("inconsistent state found; tag not mentioned in the tags section")
76+
log.Warnf("inconsistent state found; tag %s not mentioned in the tags section", tag)
7777
}
7878
}
7979
if !addedToAnyGroup {

internal/recognize/recognizer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type RecognizerImpl struct {
2222
}
2323

2424
func (r *RecognizerImpl) RecognizeFileType(resource *fileresource.FileResource) (fileresource.AsdFileType, error) {
25-
r.log.Info("start file '%s' recognizing", resource.Link)
25+
r.log.Infof("start file '%s' recognizing", resource.Link)
2626
// Initially, probably simple extension recognition will be enough.
2727
if strings.HasSuffix(resource.Link, ".json") ||
2828
strings.HasSuffix(resource.Link, ".yml") ||

0 commit comments

Comments
 (0)