Skip to content

Commit

Permalink
log which filename and handler
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed May 15, 2024
1 parent bade175 commit 1d19dd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iipsrv/src/BioFormatsImage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ void BioFormatsImage::openImage() throw(file_error)
{

string filename = getFileName(currentX, currentY);
logfile << "BioFormats :: openImage() :: filename: " << filename << endl
<< flush;

// get the file modification date/time. return false if not changed, return true if change compared to the stored info.
bool modified = updateTimestamp(filename);
Expand Down
2 changes: 2 additions & 0 deletions iipsrv/src/OpenSlideImage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ extern std::ofstream logfile;
void OpenSlideImage::openImage() throw (file_error) {

string filename = getFileName(currentX, currentY);
logfile << "Openslide :: openImage() :: filename: " << filename << endl
<< flush;

// get the file modification date/time. return false if not changed, return true if change compared to the stored info.
bool modified = updateTimestamp(filename);
Expand Down

0 comments on commit 1d19dd6

Please sign in to comment.