File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11#include " Init.hpp"
22
3+ #include < string>
4+
35#include " AConnection.hpp"
46#include " ListenSocket.hpp"
57#include " Log.hpp"
@@ -68,8 +70,8 @@ void Init::initMimeTypes(Context& context) {
6870 }
6971 context.removeContext (" types" );
7072 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);
7375}
7476
7577void Init::initVirtualHosts (Context& context) {
@@ -82,7 +84,7 @@ void Init::initVirtualHosts(Context& context) {
8284 VirtualHost::add (VirtualHost (serverContexts[i]));
8385 }
8486 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);
8688}
8789
8890void Init::initAConnection (Context& context) {
@@ -117,5 +119,5 @@ void Init::initPoll() {
117119 ++sockets;
118120 }
119121 }
120- accessLog_g.write (" Number of sockets: " + toString (sockets), INFO);
122+ accessLog_g.write (" Number of sockets created : " + toString (sockets), INFO);
121123}
You can’t perform that action at this time.
0 commit comments