c++dllformattingreuters

What does this string format mean in C++?


Ok this might be one of the not-so-smartest questions I have asked in awhile. Sadly, google led me to no answer (neither did stack).

In a C++ dll file, i have this line:

pSDB->setString("Logger\\AppLogger\\fileLoggerFilename", "rfa.{P}.log")

I, for the life of me, cannot find out what the {P} accurately represents. In the directory, I will get logs that look like: 'rfa.6702.log', 'rfa.6829.log', or 'rfa.7024.log'.

I notice they keep increasing. Does this legitimately mean anything in C++, or just a parameter set in the code?

EDIT:

This code is dealing with Reuters connections. The pSDB is:

"rfa::config::StagingConfigDatabase *ConnectionManager"


Solution

  • From here:

    The Reuters library replaces the {p} string in the default file name with the UNIX Process ID when it creates the log file.