I'm creating a new PageDeploy extension and I'm not seeing any logs created. I know that my class is being called since if I create an exception I see it in cd_X_conf.xml, but if no exception is thrown, nothing is logged.

I'm creating my extension like this:

package com.my.tridion.deployer.extensions;


public class PageDeployExtensionModule extends com.tridion.deployer.modules.PageDeploy
        implements IModuleCallable {

    private IModuleCaller moduleCaller = null;

    private static Logger logger = null;

    public PageDeployExtensionModule(Configuration config, Processor processor) throws ConfigurationException {
        super(config, processor);

        this.moduleCaller = new ModuleCaller ();
        logger = LoggerFactory.getLogger(PageDeployExtensionModule.class);

        logger.debug("JUST TO SEE IN LOGS");

public void processPage(Page page, File pageFile) throws ProcessingException {
    logger.debug("PageDeployExtensionModule.processPage --> Processing Page ID: " + page.getId().toString());
    super.processPage(page, pageFile);

In logback.xml I have created the following entry:

<logger name="com.my.tridion.deployer.extensions">
    <appender-ref ref="rollingDeployerLog"/>

In cd_deployer_conf.xml I've modify the PageDeploy module with this:

<Module Type="PageDeploy" Class="com.my.tridion.deployer.extensions.PageDeployExtensionModule"> 

I've restarted deployer service and nothing.

I see the logs being created but my entries are not there. Any idea?

Thanks in advance. Guillermo.

  • 1
    What is the log level in logback.config. – Hiren Kaku Jan 5 '17 at 7:47
  • It is debug Hiren – polonskyg Jan 5 '17 at 11:20

Have you added this in your logback.xml:

<root level="DEBUG">
   <appender-ref ref="rollingDeployerLog"/>
  • Thanks! That along with adding the package to logback.xml made it worked. – polonskyg Jan 6 '17 at 16:09
  • Glad that it worked :) – Pankaj Gaur Jan 8 '17 at 7:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.