In this selenium tutorial, step-by-step process to set up log4j. How to perform & configured log4j with different two ways. Here we will configure log4j manually using a configuration file for our simple script also we can track or debug our script.