mon, osd: set subsystem prefix for logging MonCap and OSDCap
With this patch following is how log entries from MonCap.cc look -
2023-04-10T22:15:25.746+0530
7fa5debf46c0 20 MonCap is_capable service=mon command= read addr v2:192.168.29.90:40719/0 on cap allow *
2023-04-10T22:15:25.746+0530
7fa5debf46c0 20 MonCap allow so far , doing grant allow *
2023-04-10T22:15:25.746+0530
7fa5debf46c0 20 MonCap allow all
And this is how same log entries from MonCap.cc look without this patch -
2023-04-10T22:23:32.214+0530
7f1fb27f46c0 20 is_capable service=mon command= read addr v2:192.168.29.90:40164/0 on cap allow *
2023-04-10T22:23:32.214+0530
7f1fb27f46c0 20 allow so far , doing grant allow *
2023-04-10T22:23:32.214+0530
7f1fb27f46c0 20 allow all
Signed-off-by: Rishabh Dave <ridave@redhat.com>