# Importing your Power.log

Turning on Hearthstone’s log, finding the file, and what an import brings in. The file is read in your browser and never uploaded.

Hearthstone can write a play-by-play of every game to a file called **Power.log**. The tracker reads that file and brings in every finished game in it. You only have to turn the log on once.

> **Tip:** [Gankly for Mac](https://www.gankly.com/docs/mac) turns the log on for you and reads it as you play, so with the app there is nothing to import.

## Turn on the log

1. **Open log.config** Close Hearthstone. Open the file **log.config**, or create it if it is not there. On Windows, paste the path into File Explorer’s address bar. On a Mac, use Finder’s **Go to Folder** (**⇧⌘G**).

   Mac:
   
   ```txt
   ~/Library/Preferences/Blizzard/Hearthstone/log.config
   ```
   
   Windows:
   
   ```txt
   %LOCALAPPDATA%\Blizzard\Hearthstone\log.config
   ```
2. **Add this section and save the file**

   ```txt
   [Power]
   LogLevel=1
   FilePrinting=true
   ConsolePrinting=false
   ScreenPrinting=false
   Verbose=true
   ```

The tracker shows these same steps under **Turn on Hearthstone’s Power log**, with buttons to copy the paths and the section.

## Find the file

Start Hearthstone and play. Each time it starts, it makes a new folder inside **Logs** in the Hearthstone folder and writes Power.log there. To open the Hearthstone folder, open Battle.net, choose Hearthstone, then the cog next to Play and **Show in Explorer** (Windows) or **Show in Finder** (Mac).

## Import it

Drop the newest folder’s Power.log on the tracker, or choose it. Earlier sessions keep their own folders, so you can import those too while they are there.

> **Note:** The file is read in your browser and never uploaded. Only the games found in it are saved.

## What comes in

- For every finished game: both classes, who went first, the number of turns, the result, the format and mode, and when it was played.
- The cards each side played, the cards you saw, and your mulligan, which is what card performance is built from.
- The saved deck it matches, if one of your saved decks holds the cards you played. You can move any game to another deck.

Unfinished games, such as one still in progress when you import, are left out. Importing the same file again, or a later one holding the same games, never adds a game twice. Signed in, your imported ranked games count in the [community stats](https://www.gankly.com/docs/community-stats) unless you turn that off.

## If no games are found

- Check that log.config holds the section above, then restart Hearthstone. The log only starts with the next session.
- Choose the Power.log from the **newest** folder in Logs.
- Play at least one game to the end before importing.
