Simple logarithm

Are the following possible?

2^(2 log n) => n^(2 log 2)
7^(log n - 1) => n^(log 7 - 1)

Are these correct? Thanks!