Skip to content

Commit

Permalink
Check in 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gwanglst committed Mar 28, 2024
1 parent 620855d commit ed120f9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions src/http/stderrlogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,8 @@ int StdErrLogger::setLogFileName(const char *pName)
}


const char *StdErrLogger::getLogFileName()
{
if (!m_pAppender)
m_pAppender = HttpLog::getErrorLogger()->getAppender();
return m_pAppender->getName();
}
const char *StdErrLogger::getLogFileName() const
{ return m_pAppender ? m_pAppender->getName() : NULL; }


int StdErrLogger::initLogger(Multiplexer *pMultiplexer)
Expand Down
2 changes: 1 addition & 1 deletion src/http/stderrlogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class StdErrLogger : public EventReactor, public TSingleton<StdErrLogger>
public:
~StdErrLogger();
int setLogFileName(const char *pName);
const char *getLogFileName();
const char *getLogFileName() const;
virtual int handleEvents(short event);
int getStdErr() const { return m_fdStdErr; }
int initLogger(Multiplexer *pMultiplexer);
Expand Down
2 changes: 1 addition & 1 deletion src/main/lshttpdmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
/***
* Do not change the below format, it will be set correctly while packing the code
*/
#define BUILDTIME "built: Thu Mar 28 03:28:50 UTC 2024"
#define BUILDTIME "built: Thu Mar 28 15:46:53 UTC 2024"

static const char s_pVersionFull[] = "LiteSpeed/" PACKAGE_VERSION
" Open (" LS_MODULE_VERSION_INFO_ONELINE ") BUILD (" BUILDTIME ")";
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ set ( libUnitTest UnitTest++ )
SET( unittestlib
modgzip cache lsiapi main http lsiapi ssi
registry cgi fcgi jk extensions lsapi proxy
socket sslpp lsshm thread log4cxx GeoIP adns
socket sslpp lsshm thread log4cxx adns
quic h2 lsquic bcrypt
-Wl,--whole-archive util lsr -Wl,--no-whole-archive
edio udns pthread rt ${CMAKE_DL_LIBS} ${libUnitTest} ${BSSL_ADD_LIB}
Expand Down

0 comments on commit ed120f9

Please sign in to comment.