You can run the wpcollector tool by going to WebSphere/PortalServer/bin directory and executing the wpcollector.sh/.bat file. This command will take few minutes to collect the logs and create archive file.
When i tried running it on my server i noticed that this tool makes use of multiple WPSConfig tasks to collect traces
The wpcollector took close to 8 min. on my local server and once it was finished i could see a
/WebSphere/wp_profile/filesForAutoPDdirectory, When i tried looking into the .zip file i could see lot of log files and configuration files