File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
#include " Init.hpp"
2
2
3
+ #include < string>
4
+
3
5
#include " AConnection.hpp"
4
6
#include " ListenSocket.hpp"
5
7
#include " Log.hpp"
@@ -68,8 +70,8 @@ void Init::initMimeTypes(Context& context) {
68
70
}
69
71
context.removeContext (" types" );
70
72
VirtualHost::setMimeTypes (types);
71
- accessLog_g.write (
72
- " Mime types loaded for " + toString (types. size ()) + " extensions " , INFO);
73
+ accessLog_g.write (" Number of mime types loaded: " + toString (types. size ()),
74
+ INFO);
73
75
}
74
76
75
77
void Init::initVirtualHosts (Context& context) {
@@ -82,7 +84,7 @@ void Init::initVirtualHosts(Context& context) {
82
84
VirtualHost::add (VirtualHost (serverContexts[i]));
83
85
}
84
86
size_t size = VirtualHost::getVirtualHosts ().size ();
85
- accessLog_g.write (toString (size) + " virtual hosts loaded" , INFO);
87
+ accessLog_g.write (" Number of virtual hosts loaded: " + toString (size) , INFO);
86
88
}
87
89
88
90
void Init::initAConnection (Context& context) {
@@ -117,5 +119,5 @@ void Init::initPoll() {
117
119
++sockets;
118
120
}
119
121
}
120
- accessLog_g.write (" Number of sockets: " + toString (sockets), INFO);
122
+ accessLog_g.write (" Number of sockets created : " + toString (sockets), INFO);
121
123
}
You can’t perform that action at this time.
0 commit comments