}
V(mutex);
if (despool) {
-#ifdef xDEBUG
char ec1[30], ec2[30], ec3[30], ec4[30];
- Dmsg4(100, "Despool in write_block_to_spool_file max_size=%s size=%s "
- "max_job_size=%s job_size=%s\n",
- edit_uint64_with_commas(dcr->max_job_spool_size, ec1),
- edit_uint64_with_commas(dcr->job_spool_size, ec2),
- edit_uint64_with_commas(dcr->dev->max_spool_size, ec3),
- edit_uint64_with_commas(dcr->dev->spool_size, ec4));
-#endif
- Jmsg(dcr->jcr, M_INFO, 0, _("User specified spool size reached.\n"));
+ Jmsg(dcr->jcr, M_INFO, 0, _("User specified spool size reached: "
+ "JobSpoolSize=%s MaxJobSpool=%s DevSpoolSize=%s MaxDevSpool=%s\n"),
+ edit_uint64_with_commas(dcr->job_spool_size, ec1),
+ edit_uint64_with_commas(dcr->max_job_spool_size, ec2),
+ edit_uint64_with_commas(dcr->dev->spool_size, ec3),
+ edit_uint64_with_commas(dcr->dev->max_spool_size, ec4));
+
if (!despool_data(dcr, false)) {
Pmsg0(000, _("Bad return from despool in write_block.\n"));
return false;